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

public abstract class FapiException extends Exception
An abstract exception thrown during the processing of a Dynamic Client Registration request.
See Also:
  • Constructor Details

    • FapiException

      public FapiException(String errorCode, String errorDescription)
      Constructs a new FapiException with the specified error code and description.
      Parameters:
      errorCode - the error code
      errorDescription - the error description
    • FapiException

      public FapiException(String errorCode, String errorDescription, Throwable cause)
      Constructs a new FapiException with the specified error code, description, and cause.
      Parameters:
      errorCode - the error code
      errorDescription - the error description
      cause - the cause
  • Method Details

    • getErrorCode

      public String getErrorCode()
      Returns the errorCode.
      Returns:
      the errorCode
    • getErrorDescription

      public String getErrorDescription()
      Returns the error description.
      Returns:
      the error description