Class AuthenticationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.micronaut.security.authentication.AuthenticationException
-
- All Implemented Interfaces:
java.io.Serializable
public class AuthenticationException extends java.lang.RuntimeException
A runtime exception thrown when authentication fails.- Since:
- 1.0
- Author:
- James Kleeh
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationException()
No message.AuthenticationException(AuthenticationResponse response)
Sets the message based on the response.AuthenticationException(java.lang.String message)
-
-
-
Constructor Detail
-
AuthenticationException
public AuthenticationException(AuthenticationResponse response)
Sets the message based on the response.- Parameters:
response
- The authentication response
-
AuthenticationException
public AuthenticationException()
No message.
-
AuthenticationException
public AuthenticationException(java.lang.String message)
- Parameters:
message
- A custom message
-
-