Package org.xnio.http

Class ConnectionClosedEarlyException

All Implemented Interfaces:
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:
  • Constructor Details

    • ConnectionClosedEarlyException

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

      public ConnectionClosedEarlyException(String msg)
      Constructs a new ConnectionClosedEarlyException instance with an initial message. No cause is specified.
      Parameters:
      msg - the message
    • ConnectionClosedEarlyException

      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 - the cause
    • ConnectionClosedEarlyException

      public ConnectionClosedEarlyException(String msg, Throwable cause)
      Constructs a new ConnectionClosedEarlyException instance with an initial message and cause.
      Parameters:
      msg - the message
      cause - the cause