Top Description Fields Constructors
org.apache.http

public Class ConnectionClosedException

extends IOException
Class Inheritance
Imports
java.io.IOException

Signals that the connection has been closed unexpectedly.
Since
4.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
ConnectionClosedException()

Creates a new ConnectionClosedException with the message "Connection is closed".

public
ConnectionClosedException(final String
The exception detail message
message
)

Creates a new ConnectionClosedException with the specified detail message.

public
ConnectionClosedException(final String
The exception detail message format; see String#format(String, Object...).
format
,
final Object...
The exception detail message arguments; see String#format(String, Object...).
args
)

Constructs a new ConnectionClosedException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.IOException.serialVersionUID.

Constructor Detail

ConnectionClosedExceptionback to summary
public ConnectionClosedException()

Creates a new ConnectionClosedException with the message "Connection is closed".

Since
4.4.11
ConnectionClosedExceptionback to summary
public ConnectionClosedException(final String message)

Creates a new ConnectionClosedException with the specified detail message.

Parameters
message:String

The exception detail message

ConnectionClosedExceptionback to summary
public ConnectionClosedException(final String format, final Object... args)

Constructs a new ConnectionClosedException with the specified detail message.

Parameters
format:String

The exception detail message format; see String#format(String, Object...).

args:Object[]

The exception detail message arguments; see String#format(String, Object...).

Since
4.4.11