public class HttpException extends HawaiiException
Constructor and Description |
---|
HttpException(org.springframework.http.HttpStatus httpStatus)
Constructs a new
HttpException with the supplied HttpStatus . |
HttpException(java.lang.String message,
org.springframework.http.HttpStatus httpStatus)
Constructs a new
HttpException with the supplied message and HttpStatus . |
HttpException(java.lang.String message,
java.lang.Throwable cause,
org.springframework.http.HttpStatus httpStatus)
Constructs a new
HttpException with the supplied message, Throwable and HttpStatus . |
HttpException(java.lang.Throwable cause,
org.springframework.http.HttpStatus httpStatus)
Constructs a new
HttpException with the supplied Throwable and HttpStatus . |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.HttpStatus |
getHttpStatus() |
public HttpException(org.springframework.http.HttpStatus httpStatus)
HttpException
with the supplied HttpStatus
.public HttpException(java.lang.String message, org.springframework.http.HttpStatus httpStatus)
HttpException
with the supplied message and HttpStatus
.public HttpException(java.lang.String message, java.lang.Throwable cause, org.springframework.http.HttpStatus httpStatus)
HttpException
with the supplied message, Throwable
and HttpStatus
.public HttpException(java.lang.Throwable cause, org.springframework.http.HttpStatus httpStatus)
HttpException
with the supplied Throwable
and HttpStatus
.