Package com.facilita.fc.web
Interface WebSocketErrorCallback
-
public interface WebSocketErrorCallback
An interface defining the method that is called when an error occurs on aWebSocket
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onError(WebSocket webSocket, java.lang.String errorMessage)
The method that is invoked when an error occurs on aWebSocket
-
-
-
Method Detail
-
onError
void onError(WebSocket webSocket, java.lang.String errorMessage) throws java.lang.Exception
The method that is invoked when an error occurs on aWebSocket
- Parameters:
webSocket
- TheWebSocket
that the error occurred on.errorMessage
- The error message encountered by the WebSocket- Throws:
java.lang.Exception
- An error occurred
-
-