public class ServerHTTPException extends HTTPException
| Constructor and Description | 
|---|
| ServerHTTPException()Creates a  ServerHTTPExceptionwith status code 500 "Internal Server Error". | 
| ServerHTTPException(int statusCode)Creates a  ServerHTTPExceptionwith the specified status code. | 
| ServerHTTPException(int statusCode,
                   String message)Creates a  ServerHTTPExceptionwith the specified status code. | 
| ServerHTTPException(int statusCode,
                   String message,
                   Throwable t)Creates a  ServerHTTPExceptionwith the specified status code. | 
| ServerHTTPException(int statusCode,
                   Throwable t)Creates a  ServerHTTPExceptionwith the specified status code. | 
| ServerHTTPException(String msg)Creates a  ServerHTTPExceptionwith status code 500 "Internal Server Error". | 
| ServerHTTPException(String msg,
                   Throwable t)Creates a  ServerHTTPExceptionwith status code 500 "Internal Server Error". | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | setStatusCode(int statusCode) | 
getStatusCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ServerHTTPException()
ServerHTTPException with status code 500 "Internal Server Error".public ServerHTTPException(String msg)
ServerHTTPException with status code 500 "Internal Server Error".public ServerHTTPException(String msg, Throwable t)
ServerHTTPException with status code 500 "Internal Server Error".public ServerHTTPException(int statusCode)
ServerHTTPException with the specified status code. The supplied status code must be in the 5xx
 range.IllegalArgumentException - If statusCode is not in the 5xx range.public ServerHTTPException(int statusCode,
                           String message)
ServerHTTPException with the specified status code. The supplied status code must be in the 5xx
 range.IllegalArgumentException - If statusCode is not in the 5xx range.public ServerHTTPException(int statusCode,
                           String message,
                           Throwable t)
ServerHTTPException with the specified status code. The supplied status code must be in the 5xx
 range.IllegalArgumentException - If statusCode is not in the 5xx range.public ServerHTTPException(int statusCode,
                           Throwable t)
ServerHTTPException with the specified status code. The supplied status code must be in the 5xx
 range.IllegalArgumentException - If statusCode is not in the 5xx range.protected void setStatusCode(int statusCode)
setStatusCode in class HTTPExceptionCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.