Top Description Fields Constructors
org.xnio.http

public Class UpgradeFailedException

extends IOException
Class Inheritance
Known Direct Subclasses
org.xnio.http.ConnectionClosedEarlyException
Imports
java.io.IOException

Exception that is thrown when a valid HTTP response is received that is not an upgrade or redirect response.
Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
UpgradeFailedException()

Constructs a new UpgradeFailedException instance.

public
UpgradeFailedException(final String
the message
msg
)

Constructs a new UpgradeFailedException instance with an initial message.

public
UpgradeFailedException(final Throwable
the cause
cause
)

Constructs a new UpgradeFailedException instance with an initial cause.

public
UpgradeFailedException(final String
the message
msg
,
final Throwable
the cause
cause
)

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

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.IOException.serialVersionUID.

Constructor Detail

UpgradeFailedExceptionback to summary
public UpgradeFailedException()

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

UpgradeFailedExceptionback to summary
public UpgradeFailedException(final String msg)

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

Parameters
msg:String

the message

UpgradeFailedExceptionback to summary
public UpgradeFailedException(final Throwable cause)

Constructs a new UpgradeFailedException 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

UpgradeFailedExceptionback to summary
public UpgradeFailedException(final String msg, final Throwable cause)

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

Parameters
msg:String

the message

cause:Throwable

the cause