Package org.eclipse.jetty.websocket.api
Class InvalidWebSocketException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.jetty.websocket.api.WebSocketException
-
- org.eclipse.jetty.websocket.api.InvalidWebSocketException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
DuplicateCoderException
,InvalidSignatureException
public class InvalidWebSocketException extends WebSocketException
Indicating that the provided Class is not a valid WebSocket as defined by the API.A valid WebSocket should do one of the following:
- Implement
WebSocketListener
- Extend
WebSocketAdapter
- Declare the
@WebSocket
annotation on the type
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidWebSocketException(java.lang.String message)
InvalidWebSocketException(java.lang.String message, java.lang.Throwable cause)
-