public static class ConditionalRejectingErrorHandler.DefaultExceptionStrategy extends Object implements FatalExceptionStrategy
FatalExceptionStrategy.| Constructor and Description |
|---|
DefaultExceptionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFatal(Throwable t) |
protected boolean |
isUserCauseFatal(Throwable cause)
Subclasses can override this to add custom exceptions.
|
protected void |
logFatalException(ListenerExecutionFailedException t,
Throwable cause)
Log the fatal ListenerExecutionFailedException at WARN level, excluding stack
trace.
|
protected final Log logger
public boolean isFatal(Throwable t)
isFatal in interface FatalExceptionStrategyprotected void logFatalException(ListenerExecutionFailedException t, Throwable cause)
t - the ListenerExecutionFailedException.cause - the root cause (skipping any general MessagingExceptions).protected boolean isUserCauseFatal(Throwable cause)
cause - the cause