Package org.apache.hc.core5.http
Class NoHttpResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hc.core5.http.NoHttpResponseException
- All Implemented Interfaces:
Serializable
Signals that the target server failed to respond with a valid HTTP response.
- Since:
- 4.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNoHttpResponseException(String message) Creates a new NoHttpResponseException with the specified detail message.NoHttpResponseException(String message, Throwable cause) Constructs aNoHttpResponseExceptionwith the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
NoHttpResponseException
Creates a new NoHttpResponseException with the specified detail message.- Parameters:
message- exception message
-
NoHttpResponseException
Constructs aNoHttpResponseExceptionwith the specified detail message and cause.- Parameters:
message- The exception detail messagecause- The cause.- Since:
- 5.0
-