Class HttpException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BadRequestException, InternalServerErrorException, ResourceNotFoundException, UnauthorizedRequestException

public class HttpException extends HawaiiException
Since:
2.0.0
See Also:
  • Constructor Details

    • HttpException

      public HttpException(org.springframework.http.HttpStatus httpStatus)
      Constructs a new HttpException with the supplied HttpStatus.
    • HttpException

      public HttpException(String message, org.springframework.http.HttpStatus httpStatus)
      Constructs a new HttpException with the supplied message and HttpStatus.
    • HttpException

      public HttpException(String message, Throwable cause, org.springframework.http.HttpStatus httpStatus)
      Constructs a new HttpException with the supplied message, Throwable and HttpStatus.
    • HttpException

      public HttpException(Throwable cause, org.springframework.http.HttpStatus httpStatus)
      Constructs a new HttpException with the supplied Throwable and HttpStatus.
  • Method Details

    • getHttpStatus

      public org.springframework.http.HttpStatus getHttpStatus()