Class HttpClientErrorException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HttpBadRequestException, HttpForbiddenException, HttpMethodNotAllowedException, HttpNotFoundException, HttpRangeNotSatisfiableException, HttpUnauthorizedException

public class HttpClientErrorException extends HttpErrorException
See Also:
  • Constructor Details

    • HttpClientErrorException

      public HttpClientErrorException(int p_iStatus)
      Create a HTTP client exception with the given status code in the range from 400 to 499.
      Parameters:
      p_iStatus - The status code.
    • HttpClientErrorException

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

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

      public HttpClientErrorException(int p_iStatus, String p_strMessage, Throwable p_cause)
      Create a HTTP client exception with the given status code in the range from 400 to 499.
      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.