Package org.forgerock.openig.fapi.error
Class FapiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.forgerock.openig.fapi.error.FapiException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AuthorizationRequestException
,ClientCertificateException
,InvalidSoftwareStatementException
,ManageApiClientException
,RegistrationRequestException
,UnapprovedSoftwareStatementException
An abstract exception thrown during the processing of a Dynamic Client Registration request.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFapiException
(String errorCode, String errorDescription) Constructs a newFapiException
with the specified error code and description.FapiException
(String errorCode, String errorDescription, Throwable cause) Constructs a newFapiException
with the specified error code, description, and cause. -
Method Summary
Modifier and TypeMethodDescriptionReturns the errorCode.Returns the error description.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FapiException
Constructs a newFapiException
with the specified error code and description.- Parameters:
errorCode
- the error codeerrorDescription
- the error description
-
FapiException
Constructs a newFapiException
with the specified error code, description, and cause.- Parameters:
errorCode
- the error codeerrorDescription
- the error descriptioncause
- the cause
-
-
Method Details
-
getErrorCode
Returns the errorCode.- Returns:
- the errorCode
-
getErrorDescription
Returns the error description.- Returns:
- the error description
-