Class FailureHandler


  • public class FailureHandler
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FailureHandler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected <E extends java.lang.Throwable>
      E
      findRootCause​(java.lang.Throwable failure)  
      java.lang.RuntimeException handle​(java.lang.Throwable th)  
      java.lang.RuntimeException handle​(java.lang.Throwable th, java.lang.String message)  
      • Methods inherited from class java.lang.Object

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

      • FailureHandler

        public FailureHandler()
    • Method Detail

      • handle

        public java.lang.RuntimeException handle​(java.lang.Throwable th)
      • handle

        public java.lang.RuntimeException handle​(java.lang.Throwable th,
                                                 java.lang.String message)
      • findRootCause

        protected final <E extends java.lang.Throwable> E findRootCause​(java.lang.Throwable failure)