public class Saml2AuthenticationException extends AuthenticationException
Authentication errors.
There are a number of scenarios where an error may occur, for example:
| Constructor and Description |
|---|
Saml2AuthenticationException(Saml2Error error)
Constructs a
Saml2AuthenticationException using the provided parameters. |
Saml2AuthenticationException(Saml2Error error,
java.lang.String message)
Constructs a
Saml2AuthenticationException using the provided parameters. |
Saml2AuthenticationException(Saml2Error error,
java.lang.String message,
java.lang.Throwable cause)
Constructs a
Saml2AuthenticationException using the provided parameters. |
Saml2AuthenticationException(Saml2Error error,
java.lang.Throwable cause)
Constructs a
Saml2AuthenticationException using the provided parameters. |
| Modifier and Type | Method and Description |
|---|---|
Saml2Error |
getError()
Returns the
SAML 2.0 Error. |
java.lang.String |
toString() |
public Saml2AuthenticationException(Saml2Error error)
Saml2AuthenticationException using the provided parameters.error - the SAML 2.0 Errorpublic Saml2AuthenticationException(Saml2Error error, java.lang.Throwable cause)
Saml2AuthenticationException using the provided parameters.error - the SAML 2.0 Errorcause - the root causepublic Saml2AuthenticationException(Saml2Error error, java.lang.String message)
Saml2AuthenticationException using the provided parameters.error - the SAML 2.0 Errormessage - the detail messagepublic Saml2AuthenticationException(Saml2Error error, java.lang.String message, java.lang.Throwable cause)
Saml2AuthenticationException using the provided parameters.error - the SAML 2.0 Errormessage - the detail messagecause - the root causepublic Saml2Error getError()
SAML 2.0 Error.Saml2Errorpublic java.lang.String toString()
toString in class java.lang.Throwable