Package | Description |
---|---|
com.machinezoo.noexception |
Classes implementing all NoException features.
|
Modifier and Type | Method and Description |
---|---|
default CloseableScope |
CloseableScope.andFinally(Runnable action)
Creates extended CloseableScope that additionally runs specified action regardless of exceptions.
|
default CloseableScope |
CloseableScope.andThen(Runnable action)
Creates extended CloseableScope that additionally runs specified action unless exception is thrown.
|
CloseableScope |
CheckedExceptionHandler.closeable(AutoCloseable closeable)
Removes checked exceptions from method signature of AutoCloseable .
|
CloseableScope |
ExceptionFilter.closeable(CloseableScope closeable)
Applies exception filter to CloseableScope .
|
CloseableScope |
ExceptionHandler.closeable(CloseableScope closeable)
Wraps CloseableScope in a try-catch block.
|
Modifier and Type | Method and Description |
---|---|
CloseableScope |
ExceptionFilter.closeable(CloseableScope closeable)
Applies exception filter to CloseableScope .
|
CloseableScope |
ExceptionHandler.closeable(CloseableScope closeable)
Wraps CloseableScope in a try-catch block.
|
Copyright © 2017–2020 Robert Važan. All rights reserved.