public class InvocationException extends RoutineException
| Constructor and Description |
|---|
InvocationException(Throwable cause)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static RoutineException |
wrapIfNeeded(Throwable cause)
Wraps the specified throwable only if it is not an instance of
RoutineException. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvocationException(@Nullable
Throwable cause)
cause - the wrapped exception.@NotNull public static RoutineException wrapIfNeeded(@Nullable Throwable cause)
RoutineException.cause - the throwable to wrap.