Package com.iizix.nio
Class WebSocketException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.io.IOException
- com.iizix.nio.WebSocketException
- All Implemented Interfaces:
java.io.Serializable
public class WebSocketException extends java.io.IOException
The WebSocketException class.- Author:
- Christopher Mindus
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description WebSocketException(java.lang.String message)
Creates a web socket exception with a message.WebSocketException(java.lang.String message, java.lang.Throwable cause)
Creates a web socket exception with a message.
Constructor Detail
WebSocketException
public WebSocketException(java.lang.String message)
Creates a web socket exception with a message.- Parameters:
message
- The message of the exception.
WebSocketException
public WebSocketException(java.lang.String message, java.lang.Throwable cause)
Creates a web socket exception with a message.- Parameters:
message
- The message of the exception.cause
- The cause is the throwable that caused this exception to get thrown.