|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.glassfish.grizzly.websockets.WebSocketException
org.glassfish.grizzly.websockets.HandshakeException
public class HandshakeException
Exception, which describes the error, occurred during the WebSocket
handshake phase.
| Constructor Summary | |
|---|---|
HandshakeException(int code,
java.lang.String message)
Construct a HandshakeException. |
|
HandshakeException(java.lang.String message)
Construct a HandshakeException. |
|
| Method Summary | |
|---|---|
int |
getCode()
Get the error code. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HandshakeException(java.lang.String message)
message - error description
public HandshakeException(int code,
java.lang.String message)
code - error codemessage - error description| Method Detail |
|---|
public int getCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||