public class HandshakeException extends WebSocketException
Constructor and Description |
---|
HandshakeException(int code,
String message)
Construct a HandshakeException.
|
HandshakeException(String message)
Construct a HandshakeException.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Get the error code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public HandshakeException(String message)
message
- error descriptionpublic HandshakeException(int code, String message)
code
- error codemessage
- error descriptionCopyright © 2015 Oracle Corporation. All rights reserved.