Class ExceptionHandlers.CompositeExceptionHandler

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handle​(java.lang.RuntimeException e)
      Act on an exception, this method should be called by clients when an exception occurs in wrapped code.
      • Methods inherited from class java.lang.Object

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

      • CompositeExceptionHandler

        public CompositeExceptionHandler​(ExceptionHandler... handlers)
    • Method Detail

      • handle

        public void handle​(java.lang.RuntimeException e)
        Description copied from interface: ExceptionHandler
        Act on an exception, this method should be called by clients when an exception occurs in wrapped code.
        Specified by:
        handle in interface ExceptionHandler
        Parameters:
        e - the exception to handle