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(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(Response response) throws IllegalArgumentException
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(Response response, Throwable cause) throws IllegalArgumentException
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 © 2013. All Rights Reserved.