Package org.xnio.http
Class ConnectionClosedEarlyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.xnio.http.UpgradeFailedException
org.xnio.http.ConnectionClosedEarlyException
- All Implemented Interfaces:
Serializable
Exception thrown if the connection is unexpectedly closed during http upgrade
before the response can be fully read.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newConnectionClosedEarlyException
instance.Constructs a newConnectionClosedEarlyException
instance with an initial message.ConnectionClosedEarlyException
(String msg, Throwable cause) Constructs a newConnectionClosedEarlyException
instance with an initial message and cause.Constructs a newConnectionClosedEarlyException
instance with an initial cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConnectionClosedEarlyException
public ConnectionClosedEarlyException()Constructs a newConnectionClosedEarlyException
instance. The message is left blank (null
), and no cause is specified. -
ConnectionClosedEarlyException
Constructs a newConnectionClosedEarlyException
instance with an initial message. No cause is specified.- Parameters:
msg
- the message
-
ConnectionClosedEarlyException
Constructs a newConnectionClosedEarlyException
instance with an initial cause. If a non-null
cause is specified, its message is used to initialize the message of thisUpgradeFailedException
; otherwise the message is left blank (null
).- Parameters:
cause
- the cause
-
ConnectionClosedEarlyException
Constructs a newConnectionClosedEarlyException
instance with an initial message and cause.- Parameters:
msg
- the messagecause
- the cause
-