Package org.apache.hc.core5.http
Class ConnectionClosedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hc.core5.http.ConnectionClosedException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RequestNotExecutedException
Signals that the connection has been closed unexpectedly.
- Since:
- 4.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new ConnectionClosedException with a default message.ConnectionClosedException(String message) Constructs a new ConnectionClosedException with the specified detail message.ConnectionClosedException(String format, Object... args) Constructs a new ConnectionClosedException with the specified detail message.ConnectionClosedException(String message, Throwable cause) Constructs aConnectionClosedExceptionwith 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
-
ConnectionClosedException
public ConnectionClosedException()Constructs a new ConnectionClosedException with a default message. -
ConnectionClosedException
Constructs a new ConnectionClosedException with the specified detail message.- Parameters:
message- The exception detail message
-
ConnectionClosedException
Constructs a new ConnectionClosedException with the specified detail message.- Parameters:
format- The exception detail message format; seeString.format(String, Object...).args- The exception detail message arguments; seeString.format(String, Object...).- Since:
- 5.0
-
ConnectionClosedException
Constructs aConnectionClosedExceptionwith the specified detail message and cause.- Parameters:
message- The exception detail messagecause- The cause.- Since:
- 5.0
-