Class ErrorHandler


  • public class ErrorHandler
    extends Object
    • Method Detail

      • setProducerThrowable

        public void setProducerThrowable​(Throwable producerThrowable)
      • getProducerThrowable

        public Throwable getProducerThrowable()
      • isRetriable

        protected boolean isRetriable​(Throwable throwable)
        Whether the given throwable is retriable (e.g. an exception indicating a connection loss) or not.
      • isCustomRetriable

        protected boolean isCustomRetriable​(Throwable throwable)
        Whether the given non-retriable matches a custom retriable setting.
        Returns:
        true if non-retriable is converted to retriable