Class WebSocketClientHandshakeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.netty.handler.codec.http.websocketx.WebSocketHandshakeException
io.netty.handler.codec.http.websocketx.WebSocketClientHandshakeException
- All Implemented Interfaces:
Serializable
Client exception during handshaking process.
IMPORTANT: This exception does not contain any ReferenceCounted
fields
e.g. FullHttpResponse
, so no special treatment is needed.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWebSocketClientHandshakeException
(String message) WebSocketClientHandshakeException
(String message, HttpResponse httpResponse) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
response
-
-
Constructor Details
-
WebSocketClientHandshakeException
-
WebSocketClientHandshakeException
-
-
Method Details
-
response
Returns aresponse
if exception occurs during response validation otherwisenull
.
-