Class ExitHandlerException

  • All Implemented Interfaces:
    Serializable

    public class ExitHandlerException
    extends Exception
    Used to signal that we have to exit handler processing with a given run result. Necessary for creation of separate methods for parts of task handler that need to return something but also exit handler immediately if there's any issue. Experimental.
    Author:
    mederly
    See Also:
    Serialized Form
    • Constructor Detail

      • ExitHandlerException

        public ExitHandlerException​(@NotNull
                                    @NotNull TaskRunResult runResult)
    • Method Detail

      • getRunResult

        @NotNull
        public @NotNull TaskRunResult getRunResult()