Class AuthenticationFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.foundation.exception.AppException
com.aquima.interactions.ds.studio.exception.AuthenticationFailureException
- All Implemented Interfaces:
Serializable
Exception to indicate that authentication is failed.
- Since:
- 6.0
- Author:
- Jon van Leuven
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationFailureException
(String userName) Create an authentication exception for a username.AuthenticationFailureException
(String userName, Throwable cause) Create an authentication exception for a username.Create an authentication exception for a username. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the user name for which the authentication failed.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthenticationFailureException
Create an authentication exception for a username.- Parameters:
userName
- The username for which the authentication failed (optional).
-
AuthenticationFailureException
Create an authentication exception for a username.- Parameters:
userName
- The username for which the authentication failed (optional).cause
- The actual cause of the error.
-
AuthenticationFailureException
Create an authentication exception for a username.- Parameters:
cause
- The actual cause of the error.
-
-
Method Details
-
getUserName
This method returns the user name for which the authentication failed.- Returns:
- the user name (may be null).
-