Class AuthenticationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.springframework.security.core.AuthenticationException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AccountStatusException,AuthenticationCredentialsNotFoundException,AuthenticationServiceException,BadCredentialsException,InsufficientAuthenticationException,ProviderNotFoundException,UsernameNotFoundException
public abstract class AuthenticationException extends java.lang.RuntimeExceptionAbstract superclass for all exceptions related to anAuthenticationobject being invalid for whatever reason.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationException(java.lang.String msg)Constructs anAuthenticationExceptionwith the specified message and no root cause.AuthenticationException(java.lang.String msg, java.lang.Throwable cause)Constructs anAuthenticationExceptionwith the specified message and root cause.
-
-
-
Constructor Detail
-
AuthenticationException
public AuthenticationException(java.lang.String msg, java.lang.Throwable cause)Constructs anAuthenticationExceptionwith the specified message and root cause.- Parameters:
msg- the detail messagecause- the root cause
-
AuthenticationException
public AuthenticationException(java.lang.String msg)
Constructs anAuthenticationExceptionwith the specified message and no root cause.- Parameters:
msg- the detail message
-
-