Klasse HttpClientErrorException

Alle implementierten Schnittstellen:
Serializable
Bekannte direkte Unterklassen:
HttpBadRequestException, HttpForbiddenException, HttpMethodNotAllowedException, HttpNotFoundException, HttpRangeNotSatisfiableException, HttpUnauthorizedException

public class HttpClientErrorException extends HttpErrorException
Siehe auch:
  • Konstruktordetails

    • HttpClientErrorException

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