public class HTTPRequestException extends ServletException
| Constructor and Description |
|---|
HTTPRequestException(int _code,
String _message)
Creates an HTTPRequestException.
|
HTTPRequestException(int _code,
String _message,
Exception _cause)
Creates an HTTPRequestException that wraps another exception.
|
| Modifier and Type | Method and Description |
|---|---|
int |
code()
The HTTP status code.
|
getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HTTPRequestException(int _code, String _message)
code(),
Throwable.getMessage()public HTTPRequestException(int _code, String _message, Exception _cause)
code(),
Throwable.getMessage(),
Throwable.getCause()public int code()
HttpServletResponse