Interface ITaskExecutionErrorResult
- 
- All Superinterfaces:
 ITaskExecutionResult,Serializable
public interface ITaskExecutionErrorResult extends ITaskExecutionResult
The result of execution aWorkflowTask, returned by the task runner when the task was not executed successfully.- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ThrowablegetCause()StringgetMessage()booleanisWasHandled()default booleanisWasSuccessful()- 
Methods inherited from interface de.xima.fc.interfaces.workflow.execution.ITaskExecutionResult
asError, asSuccess, getExecutionFinishedOrder, getExecutionStartedOrder, getFormDataAdapter, getFormRecord, getFrqSessionAttributesMapDiff, getResultMap, getResultsMap, getServletResponse, getSessionAttributesMapDiff, getTasks, isWasFormRecordDeleted 
 - 
 
 - 
 
- 
- 
Method Detail
- 
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:
 isWasSuccessfulin interfaceITaskExecutionResult- Returns:
 trueif this result is aITaskExecutionSuccessResult, orfalseif this result is aITaskExecutionErrorResult.
 
 - 
 
 -