@CompileStatic class NonTransientFailurePredicate extends Object implements Predicate<Throwable>
Predicate for checking if provided failure is considered non-transient (returns true
) or not (returns false
).
details
property contains an instance of DomainExceptiondetails
property contains an instance of RemoteHandlerException whose message indicates that original cause was
NullPointerException
nonTransientFailurePredicate
property of Axon's AbstractRetryScheduler
.
Type | Name and description |
---|---|
static List<Class<? extends Throwable>> |
NON_TRANSIENT_FAILURE_LIST |
static List<Class<? extends Throwable>> |
REMOTE_HANDLER_NON_TRANSIENT_CAUSE_LIST |
Constructor and description |
---|
NonTransientFailurePredicate() |
Groovy Documentation