- propagate
Propagate a Throwable as a RuntimeException. Like Guava
Throwables#propagate(Throwable) but: throws
- propagateIfFatal
Propagate exceptions which are fatal. Propagates only those exceptions which one
rarely (if ever) wa
- getFirstThrowableOfType
returns the first exception of the given type, or null
- collapseText
- getFirstInteresting
returns the first exception in the call chain which whose message is potentially
interesting, in the
- create
creates the given exception, but without propagating it, for use when caller
will be wrapping
- collapseTextInContext
as #collapseText(Throwable) but skipping any throwables which implement
CanSkipInContextand indicate
- getFirstThrowableMatching
returns the first exception that matches the filter, or null
- propagateAnnotated
As #propagate(String,Throwable) but unlike earlier deprecated version this
always re-wraps including
- propagateIfInterrupt
Propagate exceptions which are interrupts (be it InterruptedExceptionor
RuntimeInterruptedException.
- getCausalChain
As Throwables#getCausalChain(Throwable) but safe in the face of perverse classes
which return themse
- isPrefixBoring
Returns whether the prefix is throwable either known to be boring or to have an
unhelpful type name