Class WsUpgradeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
io.helidon.websocket.WsUpgradeException
All Implemented Interfaces:
Serializable

public class WsUpgradeException extends Exception
An exception that may be thrown by WsListener.onHttpUpgrade(HttpPrologue, io.helidon.http.Headers) during handshake process to reject a websocket upgrade.
See Also:
  • Constructor Details

    • WsUpgradeException

      public WsUpgradeException(String message)
      Create exception from message.
      Parameters:
      message - the message
    • WsUpgradeException

      public WsUpgradeException(String message, Throwable cause)
      Create exception from message and cause.
      Parameters:
      message - the message
      cause - the cause