Module io.automatiko.engine.api
Class ProcessInstanceExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.automatiko.engine.api.workflow.ProcessInstanceExecutionException
- All Implemented Interfaces:
Serializable
Thrown when there is problem encountered during process instance execution.
Usually caused by one of the node instances not able to perform desired
action.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProcessInstanceExecutionException(String processInstanceId, String failedNodeId, String errorMessage) -
Method Summary
Modifier and TypeMethodDescriptionReturns error message associated with this failure.Returns node definition id of the node instance that failed to executeReturns process instance id of the instance that failed.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProcessInstanceExecutionException
-
-
Method Details
-
getProcessInstanceId
Returns process instance id of the instance that failed.- Returns:
- process instance id
-
getFailedNodeId
Returns node definition id of the node instance that failed to execute- Returns:
- node definition id
-
getErrorMessage
Returns error message associated with this failure. Usually will consists of error id, fully qualified class name of the root cause exception and error message- Returns:
- error message
-