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
Exception thrown when building a
RegistrationRequest
using a RegistrationRequestFilter
.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRegistrationRequestException
(String errorDescription) Constructs a newRegistrationRequestBuilderException
with the givenDcrErrorCode
and description.RegistrationRequestException
(DcrErrorCode dcrErrorCode, String errorDescription) Constructs a newRegistrationRequestBuilderException
with the givenDcrErrorCode
and description.RegistrationRequestException
(DcrErrorCode dcrErrorCode, String errorDescription, Throwable cause) Constructs a newRegistrationRequestBuilderException
with the givenDcrErrorCode
, description and a cause. -
Method Summary
Methods inherited from class org.forgerock.openig.fapi.error.FapiException
getErrorCode, getErrorDescription
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RegistrationRequestException
Constructs a newRegistrationRequestBuilderException
with the givenDcrErrorCode
and description. The response error code would beOAuth2Error.E_INVALID_REQUEST
by default.- Parameters:
errorDescription
- error description
-
RegistrationRequestException
Constructs a newRegistrationRequestBuilderException
with the givenDcrErrorCode
and description.- Parameters:
dcrErrorCode
- error codeerrorDescription
- error description
-
RegistrationRequestException
public RegistrationRequestException(DcrErrorCode dcrErrorCode, String errorDescription, Throwable cause) Constructs a newRegistrationRequestBuilderException
with the givenDcrErrorCode
, description and a cause.- Parameters:
dcrErrorCode
- error codeerrorDescription
- error descriptioncause
- the cause
-