Home
last modified time | relevance | path

Searched refs:WebSocketException (Results 1 – 3 of 3) sorted by relevance

/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DWebSocketException.java7 public class WebSocketException extends IOException { class
11 public WebSocketException(Exception cause) { in WebSocketException() method in WebSocketException
15 public WebSocketException(CloseCode code, String reason) { in WebSocketException() method in WebSocketException
19 public WebSocketException(CloseCode code, String reason, Exception cause) { in WebSocketException() method in WebSocketException
DWebSocket.java73 if (e instanceof WebSocketException) { in readWebsocket()
74 … doClose(((WebSocketException) e).getCode(), ((WebSocketException) e).getReason(), false); in readWebsocket()
91 … throw new WebSocketException(CloseCode.ProtocolError, "Continuous frame sequence not completed."); in handleWebsocketFrame()
95 …throw new WebSocketException(CloseCode.ProtocolError, "Non control or continuous frame expected."); in handleWebsocketFrame()
124 …throw new WebSocketException(CloseCode.ProtocolError, "Previous continuous frame sequence not comp… in handleFrameFragment()
132 …throw new WebSocketException(CloseCode.ProtocolError, "Continuous frame sequence was not started."… in handleFrameFragment()
139 …throw new WebSocketException(CloseCode.ProtocolError, "Continuous frame sequence was not started."… in handleFrameFragment()
DWebSocketFrame.java58 public WebSocketFrame(OpCode opCode, List<WebSocketFrame> fragments) throws WebSocketException { in WebSocketFrame()
67 … throw new WebSocketException(CloseCode.MessageTooBig, "Max frame length has been exceeded."); in WebSocketFrame()
150 …throw new WebSocketException(CloseCode.ProtocolError, "The reserved bits (" + Integer.toBinaryStri… in read()
153 …throw new WebSocketException(CloseCode.ProtocolError, "Received frame with reserved/unknown opcode… in read()
155 throw new WebSocketException(CloseCode.ProtocolError, "Fragmented control frame."); in read()
186 …throw new WebSocketException(CloseCode.ProtocolError, "Invalid data frame 2byte length. (not using… in readPayloadInfo()
195 …throw new WebSocketException(CloseCode.ProtocolError, "Invalid data frame 4byte length. (not using… in readPayloadInfo()
198 … throw new WebSocketException(CloseCode.MessageTooBig, "Max frame length has been exceeded."); in readPayloadInfo()
205 …throw new WebSocketException(CloseCode.ProtocolError, "Control frame with payload length > 125 byt… in readPayloadInfo()
208 … throw new WebSocketException(CloseCode.ProtocolError, "Received close frame with payload len 1."); in readPayloadInfo()