Package com.evolveum.midpoint.task.api
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.- Author:
- mederly
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExitHandlerException(@NotNull TaskRunResult runResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull TaskRunResult
getRunResult()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ExitHandlerException
public ExitHandlerException(@NotNull @NotNull TaskRunResult runResult)
-
-
Method Detail
-
getRunResult
@NotNull public @NotNull TaskRunResult getRunResult()
-
-