Top Description Fields Constructors
org.xnio.http

public Class ConnectionClosedEarlyException

extends UpgradeFailedException
Class Inheritance

Exception thrown if the connection is unexpectedly closed during http upgrade before the response can be fully read.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
ConnectionClosedEarlyException()

Constructs a new ConnectionClosedEarlyException instance.

public
ConnectionClosedEarlyException(String
the message
msg
)

Constructs a new ConnectionClosedEarlyException instance with an initial message.

public
ConnectionClosedEarlyException(Throwable
the cause
cause
)

Constructs a new ConnectionClosedEarlyException instance with an initial cause.

public
ConnectionClosedEarlyException(String
the message
msg
,
Throwable
the cause
cause
)

Constructs a new ConnectionClosedEarlyException instance with an initial message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.xnio.http.UpgradeFailedException.serialVersionUID.

Constructor Detail

ConnectionClosedEarlyExceptionback to summary
public ConnectionClosedEarlyException()

Constructs a new ConnectionClosedEarlyException instance. The message is left blank (null), and no cause is specified.

ConnectionClosedEarlyExceptionback to summary
public ConnectionClosedEarlyException(String msg)

Constructs a new ConnectionClosedEarlyException instance with an initial message. No cause is specified.

Parameters
msg:String

the message

ConnectionClosedEarlyExceptionback to summary
public ConnectionClosedEarlyException(Throwable cause)

Constructs a new ConnectionClosedEarlyException instance with an initial cause. If a non-null cause is specified, its message is used to initialize the message of this UpgradeFailedException; otherwise the message is left blank (null).

Parameters
cause:Throwable

the cause

ConnectionClosedEarlyExceptionback to summary
public ConnectionClosedEarlyException(String msg, Throwable cause)

Constructs a new ConnectionClosedEarlyException instance with an initial message and cause.

Parameters
msg:String

the message

cause:Throwable

the cause