Class InvalidWebSocketException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.jetty.websocket.api.exceptions.WebSocketException
org.eclipse.jetty.websocket.api.exceptions.InvalidWebSocketException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorDescriptionInvalidWebSocketException
(String message) InvalidWebSocketException
(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidWebSocketException
-
InvalidWebSocketException
-