Class UnknownRoleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.foundation.exception.AppException
com.aquima.interactions.project.exception.UnknownRoleException
- All Implemented Interfaces:
Serializable
This type of exception is used when an unknown role is encountered.
- Since:
- 7.2
- Author:
- Jon van Leuven
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnknownRoleException
(String roleName) Constructs an exception for an invalid role name. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the role name that was unknown or invalid.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnknownRoleException
Constructs an exception for an invalid role name.- Parameters:
roleName
- The role name that was invalid or unknown.
-
-
Method Details
-
getRoleName
This method returns the role name that was unknown or invalid.- Returns:
- the role name that was unknown or invalid.
-