Class HttpClientException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConnectionResetException, ConnectionTimeoutException, EndpointConnectException, HttpClientUpgradeException, RequestTimeoutException, ResetStreamException

public class HttpClientException extends RuntimeException

Base exception class used to report HTTP client errors.

Since:
1.6
Author:
Jeremy Kuhn
See Also:
  • Constructor Details

    • HttpClientException

      public HttpClientException()

      Creates an HTTP client exception.

    • HttpClientException

      public HttpClientException(String message)

      Creates an HTTP client exception.

      Parameters:
      message - the message
    • HttpClientException

      public HttpClientException(String message, Throwable cause)

      Creates an HTTP client exception.

      Parameters:
      message - the message
      cause - the cause
    • HttpClientException

      public HttpClientException(Throwable cause)

      Creates an HTTP client exception.

      Parameters:
      cause - the cause