Searched defs:HandshakeException (Results 1 - 9 of 9) sorted by relevance

/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/handshake/
H A D__init__.py43 # Export AbortedByUserException, HandshakeException, and VersionException
46 from mod_pywebsocket.handshake._base import HandshakeException namespace
99 except HandshakeException, e:
111 raise HandshakeException(
H A D_base.py54 class HandshakeException(Exception): class in inherits:Exception
60 super(HandshakeException, self).__init__(name)
98 raise HandshakeException('Invalid subprotocol name: empty')
103 raise HandshakeException(
114 raise HandshakeException('Invalid non-token string in subprotocol '
125 raise HandshakeException('Invalid port number format: %r' % e)
143 raise HandshakeException('Header/connection port mismatch: %d/%d' %
156 raise HandshakeException('Header %s is not defined' % key)
164 raise HandshakeException(
173 raise HandshakeException('Metho
[all...]
H A Ddraft75.py46 from mod_pywebsocket.handshake._base import HandshakeException namespace
160 raise HandshakeException('Header %s is not defined' % key)
163 raise HandshakeException(
177 raise HandshakeException('Too few header lines: %d' % len(lines))
180 raise HandshakeException(
185 raise HandshakeException(
H A Dhybi00.py53 from mod_pywebsocket.handshake._base import HandshakeException namespace
98 HandshakeException: when any error happened in parsing the opening
144 raise HandshakeException('Illegal value for %s: %s' %
179 raise HandshakeException('%s field contains no digit' % key_field)
184 raise HandshakeException('%s field contains no space' % key_field)
193 raise HandshakeException(
H A Dhybi.py55 from mod_pywebsocket.handshake._base import HandshakeException namespace
117 except HandshakeException, e:
118 raise HandshakeException(
127 raise HandshakeException(
242 raise HandshakeException(
252 raise HandshakeException(
257 except HandshakeException, e:
282 raise HandshakeException(
321 raise HandshakeException(
331 raise HandshakeException('Reques
[all...]
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
H A Dtest_handshake.py44 from mod_pywebsocket.handshake._base import HandshakeException namespace
62 self.assertRaises(HandshakeException,
66 self.assertRaises(HandshakeException,
70 self.assertRaises(HandshakeException,
74 self.assertRaises(HandshakeException,
79 self.assertRaises(HandshakeException,
83 self.assertRaises(HandshakeException,
87 self.assertRaises(HandshakeException,
91 self.assertRaises(HandshakeException,
95 self.assertRaises(HandshakeException,
[all...]
H A Dtest_handshake_hybi00.py40 from mod_pywebsocket.handshake._base import HandshakeException namespace
431 self.assertRaises(HandshakeException, handshaker.do_handshake)
H A Dtest_handshake_hybi08.py41 from mod_pywebsocket.handshake._base import HandshakeException namespace
222 # No request has been made but ws_protocol is set. HandshakeException
224 self.assertRaises(HandshakeException, handshaker.do_handshake)
232 # ws_protocol is not set. HandshakeException must be raised.
233 self.assertRaises(HandshakeException, handshaker.do_handshake)
264 self.assertRaises(HandshakeException, handshaker.do_handshake)
363 except HandshakeException, e:
H A Dtest_handshake_hybi.py41 from mod_pywebsocket.handshake._base import HandshakeException namespace
222 # No request has been made but ws_protocol is set. HandshakeException
224 self.assertRaises(HandshakeException, handshaker.do_handshake)
232 # ws_protocol is not set. HandshakeException must be raised.
233 self.assertRaises(HandshakeException, handshaker.do_handshake)
424 except HandshakeException, e:

Completed in 218 milliseconds