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