Class FlowAccessException
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.FlowAccessException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FlowAuthorizationException
This exception is used to indicate a flow could not be accessed.
- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFlowAccessException
(String flowName) Constructs the exception with the name of the flow that could not be accessed.FlowAccessException
(String flowName, String message) Constructs the exception with the name of the flow that could not be accessed, and an additional message providing further explanation. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the name of the flow that could not be accessed.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FlowAccessException
Constructs the exception with the name of the flow that could not be accessed.- Parameters:
flowName
- the name of the flow that could not be accessed.
-
FlowAccessException
Constructs the exception with the name of the flow that could not be accessed, and an additional message providing further explanation.- Parameters:
flowName
- the name of the flow that could not be accessed.message
- Message providing further information about the cause of the error.
-
-
Method Details
-
getFlowName
This method returns the name of the flow that could not be accessed.- Returns:
- the name of the flow that could not be accessed.
-