public class ClientHTTPException extends HTTPException
| Constructor and Description | 
|---|
| ClientHTTPException()Creates a  ClientHTTPExceptionwith status code 400 "Bad Request". | 
| ClientHTTPException(int statusCode)Creates a  ClientHTTPExceptionwith the specified status code. | 
| ClientHTTPException(int statusCode,
                   String message)Creates a  ClientHTTPExceptionwith the specified status code. | 
| ClientHTTPException(int statusCode,
                   String message,
                   Throwable t)Creates a  ClientHTTPExceptionwith the specified status code. | 
| ClientHTTPException(int statusCode,
                   Throwable t)Creates a  ClientHTTPExceptionwith the specified status code. | 
| ClientHTTPException(String msg)Creates a  ClientHTTPExceptionwith status code 400 "Bad Request". | 
| ClientHTTPException(String msg,
                   Throwable t)Creates a  ClientHTTPExceptionwith status code 400 "Bad Request". | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | setStatusCode(int statusCode) | 
getStatusCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ClientHTTPException()
ClientHTTPException with status code 400 "Bad Request".public ClientHTTPException(String msg)
ClientHTTPException with status code 400 "Bad Request".public ClientHTTPException(String msg, Throwable t)
ClientHTTPException with status code 400 "Bad Request".public ClientHTTPException(int statusCode)
ClientHTTPException with the specified status code.IllegalArgumentException - If statusCode is not in the 4xx range.public ClientHTTPException(int statusCode,
                           String message)
ClientHTTPException with the specified status code.IllegalArgumentException - If statusCode is not in the 4xx range.public ClientHTTPException(int statusCode,
                           String message,
                           Throwable t)
ClientHTTPException with the specified status code.IllegalArgumentException - If statusCode is not in the 4xx range.public ClientHTTPException(int statusCode,
                           Throwable t)
ClientHTTPException with the specified status code.IllegalArgumentException - If statusCode is not in the 4xx range.protected void setStatusCode(int statusCode)
setStatusCode in class HTTPExceptionCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.