Class RevertFlowException
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.RevertFlowException
- All Implemented Interfaces:
Serializable
This exception is used to indicated a flow could not be reverted to a previous flow (state).
- Since:
- 7.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRevertFlowException
(String message, String flowName) Constructs the exception with the required arguments. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the name of the flow that could not be reverted.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RevertFlowException
Constructs the exception with the required arguments.- Parameters:
message
- A message containing a detailed explanation of the error.flowName
- The name of the flow that could not be reverted.
-
-
Method Details
-
getFlowName
This method returns the name of the flow that could not be reverted.- Returns:
- the name of the flow that could not be reverted.
-