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
@Experimental 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. Maybe we can remove it.- Author:
- mederly
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExitWorkBucketHandlerException(@NotNull TaskWorkBucketProcessingResult runResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull 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 @NotNull TaskWorkBucketProcessingResult runResult)
-
-
Method Detail
-
getRunResult
@NotNull public @NotNull TaskWorkBucketProcessingResult getRunResult()
-
-