Class RegistrationRequestException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.forgerock.openig.fapi.error.FapiException
org.forgerock.openig.fapi.dcr.request.RegistrationRequestException
All Implemented Interfaces:
Serializable

public class RegistrationRequestException extends FapiException
Exception thrown when building a RegistrationRequest using a RegistrationRequestFilter.
See Also:
  • Constructor Details

    • RegistrationRequestException

      public RegistrationRequestException(String errorDescription)
      Constructs a new RegistrationRequestBuilderException with the given DcrErrorCode and description. The response error code would be OAuth2Error.E_INVALID_REQUEST by default.
      Parameters:
      errorDescription - error description
    • RegistrationRequestException

      public RegistrationRequestException(DcrErrorCode dcrErrorCode, String errorDescription)
      Constructs a new RegistrationRequestBuilderException with the given DcrErrorCode and description.
      Parameters:
      dcrErrorCode - error code
      errorDescription - error description
    • RegistrationRequestException

      public RegistrationRequestException(DcrErrorCode dcrErrorCode, String errorDescription, Throwable cause)
      Constructs a new RegistrationRequestBuilderException with the given DcrErrorCode, description and a cause.
      Parameters:
      dcrErrorCode - error code
      errorDescription - error description
      cause - the cause