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:
Serializable
- Direct Known Subclasses:
InternalAuthenticationServiceException
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
ConstructorDescriptionConstructs anAuthenticationServiceException
with the specified message.AuthenticationServiceException
(String msg, Throwable cause) Constructs anAuthenticationServiceException
with the specified message and root cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthenticationServiceException
Constructs anAuthenticationServiceException
with the specified message.- Parameters:
msg
- the detail message
-
AuthenticationServiceException
Constructs anAuthenticationServiceException
with the specified message and root cause.- Parameters:
msg
- the detail messagecause
- root cause
-