Class CombineErrorHandler

    • Method Detail

      • errorHandling

        public static CombineErrorHandler errorHandling()
        Static factory to produce new instance of this handler
        new instance
      • handle

        public boolean handle​(Exception e,
                              Run<?,​?> run,
                              TaskListener listener)
        Handles exception with help of other handlers. If no one will handle it, it will be thrown to the top level
        Specified by:
        handle in interface ErrorHandler
        e - exception to handle (log, ignore, process, rethrow)
        run - run object from the step
        listener - listener object from the step
        true if exception handled or rethrows it