Package ej.websocket
Class WebSocketException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ej.websocket.WebSocketException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ServerException
public class WebSocketException extends Exception
A special kind of exception thrown by classes associated toWebSockets.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WebSocketException()WebSocketException(Exception e)Create a new Websocket exception.WebSocketException(String string)Create a new Websocket exception.WebSocketException(String string, Exception e)Create a new Websocket exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, toString
-
-
-
-
Constructor Detail
-
WebSocketException
public WebSocketException(String string)
Create a new Websocket exception.- Parameters:
string- message to describe the error case
-
WebSocketException
public WebSocketException(String string, Exception e)
Create a new Websocket exception.- Parameters:
string- message to describe the error casee- the original exception
-
WebSocketException
public WebSocketException(Exception e)
Create a new Websocket exception.- Parameters:
e- the original exception
-
WebSocketException
public WebSocketException()
-
-