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).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaskException(String message, @NotNull OperationResultStatus opResultStatus, TaskRunResult.TaskRunResultStatus runResultStatus)
TaskException(String message, @NotNull OperationResultStatus opResultStatus, TaskRunResult.TaskRunResultStatus runResultStatus, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFullMessage()
@NotNull 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, @NotNull @NotNull OperationResultStatus opResultStatus, @NotNull TaskRunResult.TaskRunResultStatus runResultStatus, Throwable cause)
-
TaskException
public TaskException(String message, @NotNull @NotNull OperationResultStatus opResultStatus, @NotNull TaskRunResult.TaskRunResultStatus runResultStatus)
-
-
Method Detail
-
getOpResultStatus
@NotNull public @NotNull OperationResultStatus getOpResultStatus()
-
getRunResultStatus
@NotNull public TaskRunResult.TaskRunResultStatus getRunResultStatus()
-
getFullMessage
public String getFullMessage()
-
-