Class HttpException

    • Constructor Detail

      • HttpException

        public HttpException​(HttpStatus status)
        Instantiate.
        Parameters:
        status - HttpStatus.
      • HttpException

        public HttpException​(HttpStatus status,
                             java.lang.Throwable cause)
        Instantiate.
        Parameters:
        status - HttpStatus.
        cause - Throwable cause.
      • HttpException

        public HttpException​(int statusCode,
                             java.lang.String errorMessage)
        Convenience constructor for providing error message.
        Parameters:
        statusCode - Status code.
        errorMessage - Error message.
      • HttpException

        public HttpException​(HttpStatus status,
                             java.lang.String errorMessage)
        Convenience constructor for providing error message.
        Parameters:
        status - HttpStatus.
        errorMessage - Error message.