Top Description Fields Constructors
org.apache.hc.core5.http

public Class ConnectionClosedException

extends IOException
Class Inheritance
Known Direct Subclasses
org.apache.hc.core5.http.RequestNotExecutedException
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()

Constructs a new ConnectionClosedException with a default message.

public
ConnectionClosedException(final String
The exception detail message
message
)

Constructs 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.

public
ConnectionClosedException(final String
The exception detail message
message
,
final Throwable
The cause.
cause
)

Constructs a ConnectionClosedException with the specified detail message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.IOException.serialVersionUID.

Constructor Detail

ConnectionClosedExceptionback to summary
public ConnectionClosedException()

Constructs a new ConnectionClosedException with a default message.

ConnectionClosedExceptionback to summary
public ConnectionClosedException(final String message)

Constructs 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
5.0
ConnectionClosedExceptionback to summary
public ConnectionClosedException(final String message, final Throwable cause)

Constructs a ConnectionClosedException with the specified detail message and cause.

Parameters
message:String

The exception detail message

cause:Throwable

The cause.

Since
5.0