Class ProcessInstanceExecutionException

  • All Implemented Interfaces:
    Serializable

    public class ProcessInstanceExecutionException
    extends RuntimeException
    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:
    Serialized Form
    • Constructor Detail

      • ProcessInstanceExecutionException

        public ProcessInstanceExecutionException​(String processInstanceId,
                                                 String failedNodeId,
                                                 String errorMessage)
    • Method Detail

      • getProcessInstanceId

        public String getProcessInstanceId()
        Returns process instance id of the instance that failed.
        Returns:
        process instance id
      • getFailedNodeId

        public String getFailedNodeId()
        Returns node definition id of the node instance that failed to execute
        Returns:
        node definition id
      • getErrorMessage

        public String 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