- firstOrSuppressed
Adds a new exception as a Throwable#addSuppressed(Throwable)to a prior
exception, or returns the new
- stringifyException
Makes a string representation of the exception's stack trace, or "(null)", if
the exception is null.
- rethrowException
Throws the given Throwable in scenarios where the signatures do allow to throw a
Exception. Errors a
- findThrowable
Checks whether a throwable chain contains an exception matching a predicate and
returns it.
- stripException
Unpacks an specified exception and returns its cause. Otherwise the given
Throwable is returned.
- rethrow
Throws the given Throwable in scenarios where the signatures do not allow you to
throw an arbitrary
- stripExecutionException
Unpacks an ExecutionException and returns its cause. Otherwise the given
Throwable is returned.
- isJvmFatalError
Checks whether the given exception indicates a situation that may leave the JVM
in a corrupted state
- stripCompletionException
Unpacks an CompletionException and returns its cause. Otherwise the given
Throwable is returned.
- rethrowIfFatalError
Rethrows the given Throwable, if it represents an error that is fatal to the
JVM. See ExceptionUtils
- rethrowIfFatalErrorOrOOM
Rethrows the given Throwable, if it represents an error that is fatal to the JVM
or an out-of-memory
- checkInterrupted
Checks whether the given exception is a InterruptedException and sets the
interrupted flag according