Interface IErrorResultData
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
IExceptionalCompletionResult
- All Known Implementing Classes:
NodeSoftErrorException
,NodeThrewException
public interface IErrorResultData extends Serializable
Error data provided by a workflow node either whenINodeHandler#execute
throws an exception or completes normally withsoft errors
.- Since:
- 7.0.7
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Throwable
getCause()
String
getMessage()
Object
getWorkflowExceptionData()
String
getWorkflowExceptionType()
-
-
-
Method Detail
-
getCause
@Nullable Throwable getCause()
- Returns:
- The exception that caused this error. May be
null
in case this error was not caused by any exception.
-
getMessage
String getMessage()
- Returns:
- A message that describes the error in more detail. Usually the message is a short English phrase or sentence.
-
getWorkflowExceptionData
@Nullable Object getWorkflowExceptionData()
- Returns:
- Custom data for the exception type that contain further details on the error. May be
null
in case no data is available.
-
getWorkflowExceptionType
String getWorkflowExceptionType()
- Returns:
- Describes the type of error that occurred during the execution of a workflow node. Empty string for a general error that cannot be classified further.
-
-