Package com.evolveum.midpoint.task.api
Class TaskException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.evolveum.midpoint.task.api.TaskException
-
- All Implemented Interfaces:
Serializable
@Experimental public class TaskException extends Exception
Exception that carries supplementary information on how it should be treated (with the respect to operation result and task run result status). Very experimental. Currently not supported directly by task-quartz-impl module. (Only by helper classes in higher layers.) This will be changed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaskException(String message, OperationResultStatus opResultStatus, TaskRunResult.TaskRunResultStatus runResultStatus)
TaskException(String message, OperationResultStatus opResultStatus, TaskRunResult.TaskRunResultStatus runResultStatus, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationResultStatus
getOpResultStatus()
TaskRunResult.TaskRunResultStatus
getRunResultStatus()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TaskException
public TaskException(String message, OperationResultStatus opResultStatus, TaskRunResult.TaskRunResultStatus runResultStatus, Throwable cause)
-
TaskException
public TaskException(String message, OperationResultStatus opResultStatus, TaskRunResult.TaskRunResultStatus runResultStatus)
-
-
Method Detail
-
getOpResultStatus
public OperationResultStatus getOpResultStatus()
-
getRunResultStatus
public TaskRunResult.TaskRunResultStatus getRunResultStatus()
-
-