Class HttpServerErrorException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HttpInternalServerErrorException, HttpServiceUnavailableException

public class HttpServerErrorException extends HttpErrorException
See Also:
  • Constructor Details

    • HttpServerErrorException

      public HttpServerErrorException(int p_iStatus)
      Create a HTTP server exception with the given status code in the range from 500 to 599.
      Parameters:
      p_iStatus - The status code.
    • HttpServerErrorException

      public HttpServerErrorException(int p_iStatus, String p_strMessage)
      Create a HTTP server exception with the given status code in the range from 500 to 599.
      Parameters:
      p_iStatus - The status code.
      p_strMessage - An error message that can be later retrieved by the Throwable.getMessage() method.
    • HttpServerErrorException

      public HttpServerErrorException(int p_iStatus, Throwable p_cause)
      Create a HTTP server exception with the given status code in the range from 500 to 599.
      Parameters:
      p_iStatus - The status code.
      p_cause - The cause that can be later retrieved by the Throwable.getCause() method.
    • HttpServerErrorException

      public HttpServerErrorException(int p_iStatus, String p_strMessage, Throwable p_cause)
      Create a HTTP server exception with the given status code in the range from 500 to 599.
      Parameters:
      p_iStatus - The status code.
      p_strMessage - An error message that can be later retrieved by the Throwable.getMessage() method.
      p_cause - The cause that can be later retrieved by the Throwable.getCause() method.