Package com.evolveum.midpoint.task.api
Class ExitWorkBucketHandlerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.evolveum.midpoint.task.api.ExitWorkBucketHandlerException
-
- All Implemented Interfaces:
Serializable
public class ExitWorkBucketHandlerException 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 ExitWorkBucketHandlerException(TaskWorkBucketProcessingResult runResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskWorkBucketProcessingResult
getRunResult()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ExitWorkBucketHandlerException
public ExitWorkBucketHandlerException(@NotNull TaskWorkBucketProcessingResult runResult)
-
-
Method Detail
-
getRunResult
@NotNull public TaskWorkBucketProcessingResult getRunResult()
-
-