- propagate
Propagates throwable as-is if it is an instance of RuntimeException or Error, or
else as a last reso
- getStackTraceAsString
Returns a string containing the result of Throwable#toString(), followed by the
full, recursive stac
- propagateIfPossible
Propagates throwable exactly as-is, if and only if it is an instance of
RuntimeException, Error, dec
- throwIfUnchecked
Throws throwable if it is a RuntimeException or Error. Example usage:
for (Foo foo : foos) {
try {
- getRootCause
Returns the innermost cause of throwable. The first throwable in a chain
provides context from when
- propagateIfInstanceOf
Propagates throwable exactly as-is, if and only if it is an instance of
declaredType. Example usage:
- getCausalChain
Gets a Throwable cause chain as a list. The first entry in the list will be
throwable followed by it
- throwIfInstanceOf
Throws throwable if it is an instance of declaredType. Example usage:
for (Foo foo : foos) {
try {
- lazyStackTraceIsLazy
Returns whether #lazyStackTrace will use the special implementation described in
its documentation.
- getJlaMethod
- jlaStackTrace
- getJLA
Returns the JavaLangAccess class that is present in all Sun JDKs. It is not
whitelisted for AppEngin