public class ClientRegistrationException extends Exception
Modifier and Type | Class and Description |
---|---|
static class |
ClientRegistrationException.ErrorCode
Error codes for Dynamic Client Registration.
|
Constructor and Description |
---|
ClientRegistrationException(javax.ws.rs.core.Response.Status status,
ClientRegistrationException.ErrorCode error,
String description)
Create a new exception based on a HTTP response status code, error and description.
|
Modifier and Type | Method and Description |
---|---|
ClientRegistrationException.ErrorCode |
getError()
Returns the Dynamic Client Registration protocol
ClientRegistrationException.ErrorCode wrapped by this exception. |
javax.ws.rs.core.Response.Status |
getStatus()
Returns the HTTP response status code wrapped by this exception.
|
void |
setError(ClientRegistrationException.ErrorCode error)
Set the Dynamic Client Registration protocol
ClientRegistrationException.ErrorCode wrapped by this exception. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ClientRegistrationException(javax.ws.rs.core.Response.Status status, ClientRegistrationException.ErrorCode error, String description)
status
- HTTP response status code for the response.error
- Error code for the Dynamic Client Registration protocol response.description
- Error description to include in the Dynamic Client Registration protocol response.public ClientRegistrationException.ErrorCode getError()
ClientRegistrationException.ErrorCode
wrapped by this exception.ClientRegistrationException.ErrorCode
wrapped by this exception.public void setError(ClientRegistrationException.ErrorCode error)
ClientRegistrationException.ErrorCode
wrapped by this exception.error
- The ClientRegistrationException.ErrorCode
wrapped by this exception.public javax.ws.rs.core.Response.Status getStatus()
Copyright 2019 Ping Identity Corp. All rights reserved.