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:
java.io.Serializable
public class NoHttpResponseException extends java.io.IOException
Signals that the target server failed to respond with a valid HTTP response.- Since:
- 4.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description NoHttpResponseException(java.lang.String message)
Creates a new NoHttpResponseException with the specified detail message.NoHttpResponseException(java.lang.String message, java.lang.Throwable cause)
Constructs aNoHttpResponseException
with the specified detail message and cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NoHttpResponseException
public NoHttpResponseException(java.lang.String message)
Creates a new NoHttpResponseException with the specified detail message.- Parameters:
message
- exception message
-
NoHttpResponseException
public NoHttpResponseException(java.lang.String message, java.lang.Throwable cause)
Constructs aNoHttpResponseException
with the specified detail message and cause.- Parameters:
message
- The exception detail messagecause
- The cause.- Since:
- 5.0
-
-