Class AuthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.security.authentication.AuthenticationException
- All Implemented Interfaces:
- Serializable
A runtime exception thrown when authentication fails.
- Since:
- 1.0
- Author:
- James Kleeh
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionNo message.Sets the message based on the response.AuthenticationException(String message) 
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
AuthenticationExceptionSets the message based on the response.- Parameters:
- response- The authentication response
 
- 
AuthenticationExceptionpublic AuthenticationException()No message.
- 
AuthenticationException- Parameters:
- message- A custom message
 
 
- 
- 
Method Details- 
getResponse- Returns:
- The authentication response, or null if the exception is not tied to a response
 
 
-