Class ExitHandlerException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.evolveum.midpoint.task.api.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.
See Also:
  • Constructor Details

    • ExitHandlerException

      public ExitHandlerException(@NotNull @NotNull TaskRunResult runResult)
  • Method Details

    • getRunResult

      @NotNull public @NotNull TaskRunResult getRunResult()