Exception, which describes the error, occurred during the handshake phase.
| Modifier and Type | Field and Description |
|---|---|
| private final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | HandshakeException(int
http status code to be set to response. httpStatusCode, String the detail message. The detail message is saved for later retrieval by the message)getMessage() method.Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public int |
| httpStatusCode | back to summary |
|---|---|
| private final int httpStatusCode | |
| HandshakeException | back to summary |
|---|---|
| public HandshakeException(String message) Construct a HandshakeException. HTTP status code will be set to
| |
| HandshakeException | back to summary |
|---|---|
| public HandshakeException(int httpStatusCode, String message) Constructor.
| |
| getHttpStatusCode | back to summary |
|---|---|
| public int getHttpStatusCode() Get the error code.
| |