public class HttpException extends Exception
Exception
of all HTTP related exceptions.Constructor and Description |
---|
HttpException(int httpStatus)
Initiate.
|
HttpException(int httpStatus,
String message)
Initiate.
|
HttpException(int httpStatus,
String message,
Throwable cause)
Initiate.
|
HttpException(int httpStatus,
Throwable cause)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
int |
getHttpStatus()
Obtains the HTTP status of this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public HttpException(int httpStatus)
httpStatus
- HTTP status of exception.public HttpException(int httpStatus, String message, Throwable cause)
httpStatus
- HTTP status of exception.message
- Message.cause
- Cause.public HttpException(int httpStatus, String message)
httpStatus
- HTTP status of exception.message
- Message.public HttpException(int httpStatus, Throwable cause)
httpStatus
- HTTP status of exception.cause
- Cause.Copyright © 2005–2016. All rights reserved.