Package de.xima.fc.exceptions
Class NodeReturnedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.xima.fc.exceptions.AbstractXfcException
-
- de.xima.fc.exceptions.WorkflowProcessingException
-
- de.xima.fc.exceptions.AbstractAbruptCompletionException
-
- de.xima.fc.exceptions.NodeReturnedException
-
- All Implemented Interfaces:
IXfcException
,Serializable
public final class NodeReturnedException extends AbstractAbruptCompletionException
Indicates that an exception occurred during the execution of a workflow node.This is an extended version of the
WorkflowProcessingException
that lets you specify an error type and some data that describe the error in more detail.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeReturnedException(WorkflowNode node, Object alwaysData, Object successData, IWorkflowFileValue fileValue, String message)
NodeReturnedException(WorkflowNode node, Object alwaysData, Object successData, IWorkflowFileValue fileValue, String message, Throwable e)
NodeReturnedException(WorkflowNode node, Object alwaysData, Object successData, IWorkflowFileValue fileValue, Throwable e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowNode
getNode()
Object
getSuccessValue()
-
Methods inherited from class de.xima.fc.exceptions.AbstractAbruptCompletionException
getAlwaysValue, getFileValue
-
Methods inherited from class de.xima.fc.exceptions.WorkflowProcessingException
getDefaultErrorCode, getDefaultMessageKey
-
Methods inherited from class de.xima.fc.exceptions.AbstractXfcException
getErrorCode, getExceptionData, getLocalizedMessage, getMessageKey, getMessageParams
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NodeReturnedException
public NodeReturnedException(WorkflowNode node, Object alwaysData, Object successData, IWorkflowFileValue fileValue, String message)
-
NodeReturnedException
public NodeReturnedException(WorkflowNode node, Object alwaysData, Object successData, IWorkflowFileValue fileValue, String message, Throwable e)
-
NodeReturnedException
public NodeReturnedException(WorkflowNode node, Object alwaysData, Object successData, IWorkflowFileValue fileValue, Throwable e)
-
-
Method Detail
-
getNode
public WorkflowNode getNode()
- Returns:
- The node that did return.
-
getSuccessValue
public Object getSuccessValue()
- Returns:
- The data made available by the node for the success case.
-
-