Class ConditionalRejectingErrorHandler.DefaultExceptionStrategy

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Log logger  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        protected final Log logger
    • Constructor Detail

      • DefaultExceptionStrategy

        public DefaultExceptionStrategy()
    • Method Detail

      • isUserCauseFatal

        protected boolean isUserCauseFatal​(java.lang.Throwable cause)
        Subclasses can override this to add custom exceptions.
        Parameters:
        cause - the cause
        Returns:
        true if the cause is fatal.