Package org.apache.http
Class ConnectionClosedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.apache.http.ConnectionClosedException
-
- All Implemented Interfaces:
java.io.Serializable
public class ConnectionClosedException extends java.io.IOException
Signals that the connection has been closed unexpectedly.- Since:
- 4.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description ConnectionClosedException()
Creates a new ConnectionClosedException with the message "Connection is closed".ConnectionClosedException(java.lang.String message)
Creates a new ConnectionClosedException with the specified detail message.ConnectionClosedException(java.lang.String format, java.lang.Object... args)
Constructs a new ConnectionClosedException with the specified detail message.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConnectionClosedException
public ConnectionClosedException()
Creates a new ConnectionClosedException with the message "Connection is closed".- Since:
- 4.4.11
-
ConnectionClosedException
public ConnectionClosedException(java.lang.String message)
Creates a new ConnectionClosedException with the specified detail message.- Parameters:
message
- The exception detail message
-
ConnectionClosedException
public ConnectionClosedException(java.lang.String format, java.lang.Object... args)
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:
- 4.4.11
-
-