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
public class FlowAccessException extends FlowException
This exception is used to indicate a flow could not be accessed.- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlowAccessException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFlowName()
This 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 Detail
-
FlowAccessException
public FlowAccessException(String flowName)
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
public 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.- Parameters:
flowName
- the name of the flow that could not be accessed.message
- Message providing further information about the cause of the error.
-
-
Method Detail
-
getFlowName
public String 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.
-
-