Class NoHttpResponseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hc.core5.http.NoHttpResponseException
All Implemented Interfaces:
Serializable

public class NoHttpResponseException extends IOException
Signals that the target server failed to respond with a valid HTTP response.
Since:
4.0
See Also:
  • Field Details

  • Constructor Details

    • NoHttpResponseException

      public NoHttpResponseException(String message)
      Creates a new NoHttpResponseException with the specified detail message.
      Parameters:
      message - exception message
    • NoHttpResponseException

      public NoHttpResponseException(String message, Throwable cause)
      Constructs a NoHttpResponseException with the specified detail message and cause.
      Parameters:
      message - The exception detail message
      cause - The cause.
      Since:
      5.0