Class AuthenticationServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.springframework.security.core.AuthenticationException
-
- org.springframework.security.authentication.AuthenticationServiceException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
InternalAuthenticationServiceException
public class AuthenticationServiceException extends AuthenticationException
Thrown if an authentication request could not be processed due to a system problem.This might be thrown if a backend authentication repository is unavailable, for example.
-
-
Constructor Summary
Constructors Constructor Description AuthenticationServiceException(java.lang.String msg)
Constructs anAuthenticationServiceException
with the specified message.AuthenticationServiceException(java.lang.String msg, java.lang.Throwable cause)
Constructs anAuthenticationServiceException
with the specified message and root cause.
-
-
-
Constructor Detail
-
AuthenticationServiceException
public AuthenticationServiceException(java.lang.String msg)
Constructs anAuthenticationServiceException
with the specified message.- Parameters:
msg
- the detail message
-
AuthenticationServiceException
public AuthenticationServiceException(java.lang.String msg, java.lang.Throwable cause)
Constructs anAuthenticationServiceException
with the specified message and root cause.- Parameters:
msg
- the detail messagecause
- root cause
-
-