- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.xnio.http.UpgradeFailedException
-
- org.xnio.http.ConnectionClosedEarlyException
-
- All Implemented Interfaces:
java.io.Serializable
public class ConnectionClosedEarlyException extends UpgradeFailedException
Exception thrown if the connection is unexpectedly closed during http upgrade before the response can be fully read.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConnectionClosedEarlyException()Constructs a newConnectionClosedEarlyExceptioninstance.ConnectionClosedEarlyException(java.lang.String msg)Constructs a newConnectionClosedEarlyExceptioninstance with an initial message.ConnectionClosedEarlyException(java.lang.String msg, java.lang.Throwable cause)Constructs a newConnectionClosedEarlyExceptioninstance with an initial message and cause.ConnectionClosedEarlyException(java.lang.Throwable cause)Constructs a newConnectionClosedEarlyExceptioninstance with an initial cause.
-
-
-
Constructor Detail
-
ConnectionClosedEarlyException
public ConnectionClosedEarlyException()
Constructs a newConnectionClosedEarlyExceptioninstance. The message is left blank (null), and no cause is specified.
-
ConnectionClosedEarlyException
public ConnectionClosedEarlyException(java.lang.String msg)
Constructs a newConnectionClosedEarlyExceptioninstance with an initial message. No cause is specified.- Parameters:
msg- the message
-
ConnectionClosedEarlyException
public ConnectionClosedEarlyException(java.lang.Throwable cause)
Constructs a newConnectionClosedEarlyExceptioninstance with an initial cause. If a non-nullcause is specified, its message is used to initialize the message of thisUpgradeFailedException; otherwise the message is left blank (null).- Parameters:
cause- the cause
-
ConnectionClosedEarlyException
public ConnectionClosedEarlyException(java.lang.String msg, java.lang.Throwable cause)Constructs a newConnectionClosedEarlyExceptioninstance with an initial message and cause.- Parameters:
msg- the messagecause- the cause
-
-