public class ClientFaultException extends FederatedSSOException
Constructor and Description |
---|
ClientFaultException(SAML2IdentityProviderAdapter idpAdapter,
String messageCode)
Constructs the client fault exception with the given IDP adapter and message code.
|
ClientFaultException(SAML2IdentityProviderAdapter idpAdapter,
String messageCode,
String detail)
Constructs the client fault exception with the given IDP adapter, message code, and detail message.
|
ClientFaultException(String messageCode)
Constructs the client fault exception with the given message code.
|
ClientFaultException(String messageCode,
String detail)
Constructs the client fault exception with the given message code and detail message.
|
Modifier and Type | Method and Description |
---|---|
String |
getFaultCode()
The SOAP fault code of the error.
|
getDetail, getIdpAdapter, getMessage, getMessageCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ClientFaultException(String messageCode)
messageCode
- the message code. May not be null.public ClientFaultException(String messageCode, String detail)
messageCode
- the message code. May not be null.detail
- the detail message. May be null.public ClientFaultException(SAML2IdentityProviderAdapter idpAdapter, String messageCode)
idpAdapter
- the identity provider adapter. May be null.messageCode
- the message code. May not be null.public ClientFaultException(SAML2IdentityProviderAdapter idpAdapter, String messageCode, String detail)
idpAdapter
- the identity provider adapter. May be null.messageCode
- the message code. May not be null.detail
- the detail message. May be null.public String getFaultCode()
FederatedSSOException
getFaultCode
in class FederatedSSOException
SAML2Constants.SERVER_FAULT
or SAML2Constants.CLIENT_FAULT
. Never null.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.