public class HandshakeException extends WebSocketException
Exception, which describes the error, occurred during the WebSocket
handshake phase.| Constructor and Description |
|---|
HandshakeException(int code,
java.lang.String message)
Construct a HandshakeException.
|
HandshakeException(java.lang.String message)
Construct a HandshakeException.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Get the error code.
|
public HandshakeException(java.lang.String message)
message - error descriptionpublic HandshakeException(int code,
java.lang.String message)
code - error codemessage - error descriptionCopyright © 2018 Oracle Corporation. All Rights Reserved.