Package | Description |
---|---|
org.helenus.util |
Modifier and Type | Method and Description |
---|---|
static <E extends Exception> |
Inhibit.interruptionsAndExceptions(ERunnable<Exception> cmd,
EConsumer<Exception,E> handle)
Invokes the specified command while inhibiting Java exceptions and
interruptions and propagating the interruptions properly after; runtime
exceptions are still propagated as expected.
|
static <E extends Exception> |
Inhibit.interruptionsWhileRetryingAndExceptions(ERunnable<Exception> cmd,
EConsumer<Exception,E> handle)
Invokes the specified command while inhibiting Java exceptions and
interruptions and propagating the interruptions properly after.
|
static void |
Inhibit.throwables(ERunnable<Throwable> cmd)
Invokes the specified command while inhibiting Java errors and
exceptions.
|
static <E extends Throwable> |
Inhibit.throwables(ERunnable<Throwable> cmd,
EConsumer<Throwable,E> handle)
Invokes the specified command while inhibiting Java errors and
exceptions.
|
static <E extends Throwable> |
Inhibit.unwrappedThrowables(ERunnable<Throwable> cmd,
EConsumer<Throwable,E> handle)
Invokes the specified command while inhibiting Java errors, exceptions,
and unwrapping target exceptions.
|
Copyright (C) 2015-2017 The Helenus Driver Project Authors.