Interface ITaskExecutionErrorResult
- All Superinterfaces:
ITaskExecutionResult
,Serializable
The result of execution a
WorkflowTask
, returned by the task runner when the task was not executed
successfully.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Methods inherited from interface de.xima.fc.interfaces.workflow.execution.ITaskExecutionResult
asError, asSuccess, getExecutionFinishedOrder, getExecutionStartedOrder, getFormDataAdapter, getFormRecord, getFrqSessionAttributesMapDiff, getResultMap, getServletResponse, getSessionAttributesMapDiff, getTasks, isWasFormRecordDeleted
-
Method Details
-
getCause
Throwable getCause()- Returns:
- The exception, if any, that caused the execution to fail.
-
getMessage
String getMessage()- Returns:
- The message of the exception, if any, that caused the execution to fail.
-
isWasHandled
boolean isWasHandled()- Returns:
- Whether the exception was handled in some way. For example, a task may fail due to an unhandled exception, but a global error trigger may have been defined in the workflow that handled that error.
-
isWasSuccessful
default boolean isWasSuccessful()- Specified by:
isWasSuccessful
in interfaceITaskExecutionResult
- Returns:
true
if this result is aITaskExecutionSuccessResult
, orfalse
if this result is aITaskExecutionErrorResult
.
-