Class ActivityRunException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.evolveum.midpoint.repo.common.activity.run.ActivityRunException
-
- All Implemented Interfaces:
Serializable
@Experimental public class ActivityRunException 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 alsoTaskException
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActivityRunException(String message, @NotNull OperationResultStatus opResultStatus, TaskRunResult.TaskRunResultStatus runResultStatus)
ActivityRunException(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()
TaskException
toTaskException()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ActivityRunException
public ActivityRunException(String message, @NotNull @NotNull OperationResultStatus opResultStatus, @NotNull TaskRunResult.TaskRunResultStatus runResultStatus, Throwable cause)
-
ActivityRunException
public ActivityRunException(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()
-
toTaskException
public TaskException toTaskException()
-
-