| Package | Description |
|---|---|
| org.helenus.util |
| Modifier and Type | Method and Description |
|---|---|
static <T,E extends Exception> |
Inhibit.interruptionsAndExceptionsAndReturn(ESupplier<T,Exception> cmd,
EFunction<Exception,T,E> handle)
Invokes the specified operation while inhibiting Java exceptions and
interruptions and propagating the interruptions properly after; runtime
exceptions are still propagated as expected.
|
static <T,E extends Exception> |
Inhibit.interruptionsWhileRetryingAndExceptionsAndReturn(ESupplier<T,Exception> cmd,
EFunction<Exception,T,E> handle)
Invokes the specified operation while inhibiting Java exceptions and
interruptions and propagating the interruptions properly after.
|
static <T,E extends Throwable> |
Inhibit.throwablesAndReturn(ESupplier<T,Throwable> cmd,
EFunction<Throwable,T,E> handle)
Invokes the specified operation while inhibiting Java errors and
exceptions.
|
static <T,E extends Throwable> |
Inhibit.unwrappedThrowablesAndReturn(ESupplier<T,Throwable> cmd,
EFunction<Throwable,T,E> handle)
Invokes the specified operation while inhibiting Java errors, exceptions,
and unwrapping target exceptions.
|
Copyright (C) 2015-2015 The Helenus Driver Project Authors.