public class BadRequestException extends ResourceException
BAD_REQUEST, CONFLICT, FIELD_CAUSE, FIELD_CODE, FIELD_DETAIL, FIELD_MESSAGE, FIELD_REASON, FORBIDDEN, INTERNAL_ERROR, NOT_FOUND, NOT_SUPPORTED, UNAVAILABLE, VERSION_MISMATCH, VERSION_REQUIRED
Constructor and Description |
---|
BadRequestException()
Constructs a new exception with
null as its detail message. |
BadRequestException(String message)
Constructs a new exception with the specified detail message.
|
BadRequestException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
BadRequestException(Throwable cause)
Constructs a new exception with the specified cause.
|
asPromise, getCode, getDetail, getException, getException, getException, getReason, getResourceApiVersion, includeCauseInJsonValue, isServerError, newResourceException, newResourceException, newResourceException, setDetail, setReason, setResourceApiVersion, toJsonValue
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BadRequestException()
null
as its detail message.public BadRequestException(String message)
message
- The detail message.public BadRequestException(String message, Throwable cause)
message
- The detail message.cause
- The exception which caused this exception to be thrown.public BadRequestException(Throwable cause)
cause
- The exception which caused this exception to be thrown.Copyright © 2010-2018, ForgeRock All Rights Reserved.