java.lang.Object
java.lang.Throwable
java.lang.Exception
io.helidon.websocket.WsUpgradeException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorDescriptionWsUpgradeException
(String message) Create exception from message.WsUpgradeException
(String message, Throwable cause) Create exception from message and 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
-
WsUpgradeException
Create exception from message.- Parameters:
message
- the message
-
WsUpgradeException
Create exception from message and cause.- Parameters:
message
- the messagecause
- the cause
-