public class BadRequestException extends ClientErrorException
bad client request.| Constructor and Description |
|---|
BadRequestException()
Construct a new bad client request exception.
|
BadRequestException(Response response)
Construct a new bad client request exception.
|
BadRequestException(Response response,
Throwable cause)
Construct a new bad client request exception.
|
BadRequestException(String message)
Construct a new bad client request exception.
|
BadRequestException(String message,
Response response)
Construct a new bad client request exception.
|
BadRequestException(String message,
Response response,
Throwable cause)
Construct a new bad client request exception.
|
BadRequestException(String message,
Throwable cause)
Construct a new bad client request exception.
|
BadRequestException(Throwable cause)
Construct a new bad client request exception.
|
getResponseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BadRequestException()
public BadRequestException(String message)
message - the detail message (which is saved for later retrieval
by the Throwable.getMessage() method).public BadRequestException(Response response)
response - error response.IllegalArgumentException - in case the status code set in the response
is not HTTP 400.public BadRequestException(String message, Response response)
message - the detail message (which is saved for later retrieval
by the Throwable.getMessage() method).response - error response.IllegalArgumentException - in case the status code set in the response
is not HTTP 400.public BadRequestException(Throwable cause)
cause - the underlying cause of the exception.public BadRequestException(String message, Throwable cause)
message - the detail message (which is saved for later retrieval
by the Throwable.getMessage() method).cause - the underlying cause of the exception.public BadRequestException(Response response, Throwable cause)
response - error response.cause - the underlying cause of the exception.IllegalArgumentException - in case the status code set in the response
is not HTTP 400.public BadRequestException(String message, Response response, Throwable cause)
message - the detail message (which is saved for later retrieval
by the Throwable.getMessage() method).response - error response.cause - the underlying cause of the exception.IllegalArgumentException - in case the status code set in the response
is not HTTP 400.Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.