public final class Rejections
extends java.lang.Object
ThrowableMessage
s.Modifier and Type | Method and Description |
---|---|
static boolean |
causedByRejection(java.lang.Throwable throwable)
Tells whether or not the given
throwable is caused by a ThrowableMessage . |
public static boolean causedByRejection(java.lang.Throwable throwable)
throwable
is caused by a ThrowableMessage
.throwable
- the Throwable
to checktrue
is the given throwable
is caused by a rejection, false
otherwise