Class ShallowAnyErrorHandler

    • Constructor Detail

      • ShallowAnyErrorHandler

        @DataBoundConstructor
        public ShallowAnyErrorHandler()
    • Method Detail

      • handle

        public boolean handle​(Exception e,
                              @NonNull
                              Run<?,​?> run,
                              @NonNull
                              TaskListener listener)
        Description copied from interface: ErrorHandler
        Normally should return true if exception is handled and no other handler should do anything. If you will return false, the next error handler should try to handle this exception
        Parameters:
        e - exception to handle (log, ignore, process, rethrow)
        run - run object from the step
        listener - listener object from the step
        Returns:
        true as of its terminating handler