Class FlowExitEventException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.foundation.exception.AppException
com.aquima.interactions.flow.FlowException
com.aquima.interactions.flow.exception.FlowNodeException
com.aquima.interactions.flow.exception.FlowExitEventException
- All Implemented Interfaces:
Serializable
This exception type is used when no edge could be found in a node for a certain exit event.
- Since:
- 7.0
- Author:
- O. Kerpershoek, F. van der Meer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFlowExitEventException
(String flowName, String nodeId, ExitEvent result, ExitEvent[] validEvents) Constructs the exception with the required parameters. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the exit event for which no suitable edge could be found.This method returns the ID of the flow node for which no suitable edge could be found.Methods inherited from class com.aquima.interactions.flow.exception.FlowNodeException
getFlowName
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FlowExitEventException
public FlowExitEventException(String flowName, String nodeId, ExitEvent result, ExitEvent[] validEvents) Constructs the exception with the required parameters.- Parameters:
flowName
- The name of the flow the exception originated from.nodeId
- The ID of the node for which no suitable edge could be found.result
- The exit event for which no suitable edge could be found.validEvents
- The available events for the edge.
-
-
Method Details
-
getNodeId
This method returns the ID of the flow node for which no suitable edge could be found.- Returns:
- the ID of the flow node for which no suitable edge could be found.
-
getExitEvent
This method returns the exit event for which no suitable edge could be found.- Returns:
- the exit event for which no suitable edge could be found.
-