public abstract class FederatedSSOException extends Exception
ServerFaultException
,
ClientFaultException
,
Serialized FormConstructor and Description |
---|
FederatedSSOException(SAML2IdentityProviderAdapter idpAdapter,
String messageCode,
String detail)
Constructs the FederatedSSOException with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
getDetail()
Returns the detail message of this error, if provided.
|
abstract String |
getFaultCode()
The SOAP fault code of the error.
|
SAML2IdentityProviderAdapter |
getIdpAdapter()
The IDP adapter.
|
String |
getMessage() |
String |
getMessageCode()
Returns the message code of this error.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FederatedSSOException(SAML2IdentityProviderAdapter idpAdapter, String messageCode, String detail)
idpAdapter
- the identity provider adapter, if resolved - may be null.messageCode
- the message code of the error that occurred.detail
- the detail of the exception.public String getMessage()
getMessage
in class Throwable
public String getMessageCode()
public String getDetail()
public SAML2IdentityProviderAdapter getIdpAdapter()
public abstract String getFaultCode()
SAML2Constants.SERVER_FAULT
or SAML2Constants.CLIENT_FAULT
. Never null.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.