2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3 <html><head><title>Python: module telemetry.core.exceptions</title>
4 </head><body bgcolor="#f0f0f8">
6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
8 <td valign=bottom> <br>
9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.core.html"><font color="#ffffff">core</font></a>.exceptions</strong></big></big></font></td
10 ><td align=right valign=bottom
11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/core/exceptions.py">telemetry/core/exceptions.py</a></font></td></tr></table>
12 <p><tt># Copyright (c) 2013 The Chromium Authors. All rights reserved.<br>
13 # Use of this source code is governed by a BSD-style license that can be<br>
14 # found in the LICENSE file.</tt></p>
16 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
17 <tr bgcolor="#ee77aa">
18 <td colspan=3 valign=bottom> <br>
19 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
21 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
23 <dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>)
26 <dt><font face="helvetica, arial"><a href="telemetry.core.exceptions.html#BrowserGoneException">BrowserGoneException</a>
29 <dt><font face="helvetica, arial"><a href="telemetry.core.exceptions.html#BrowserConnectionGoneException">BrowserConnectionGoneException</a>
32 <dt><font face="helvetica, arial"><a href="telemetry.core.exceptions.html#EvaluateException">EvaluateException</a>
33 </font></dt><dt><font face="helvetica, arial"><a href="telemetry.core.exceptions.html#LoginException">LoginException</a>
34 </font></dt><dt><font face="helvetica, arial"><a href="telemetry.core.exceptions.html#TabCrashException">TabCrashException</a>
39 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
40 <tr bgcolor="#ffc8d8">
41 <td colspan=3 valign=bottom> <br>
42 <font color="#000000" face="helvetica, arial"><a name="BrowserConnectionGoneException">class <strong>BrowserConnectionGoneException</strong></a>(<a href="telemetry.core.exceptions.html#BrowserGoneException">BrowserGoneException</a>)</font></td></tr>
44 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
45 <td width="100%"><dl><dt>Method resolution order:</dt>
46 <dd><a href="telemetry.core.exceptions.html#BrowserConnectionGoneException">BrowserConnectionGoneException</a></dd>
47 <dd><a href="telemetry.core.exceptions.html#BrowserGoneException">BrowserGoneException</a></dd>
48 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
49 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
50 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
53 Data descriptors inherited from <a href="telemetry.core.exceptions.html#BrowserGoneException">BrowserGoneException</a>:<br>
54 <dl><dt><strong>__weakref__</strong></dt>
55 <dd><tt>list of weak references to the object (if defined)</tt></dd>
58 Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
59 <dl><dt><a name="BrowserConnectionGoneException-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#BrowserConnectionGoneException-__init__">__init__</a>(...) initializes x; see help(type(x)) for signature</tt></dd></dl>
62 Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
63 <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#BrowserConnectionGoneException-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>
66 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
67 <dl><dt><a name="BrowserConnectionGoneException-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#BrowserConnectionGoneException-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl>
69 <dl><dt><a name="BrowserConnectionGoneException-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#BrowserConnectionGoneException-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
71 <dl><dt><a name="BrowserConnectionGoneException-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#BrowserConnectionGoneException-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl>
73 <dl><dt><a name="BrowserConnectionGoneException-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#BrowserConnectionGoneException-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br>
75 Use of negative indices is not supported.</tt></dd></dl>
77 <dl><dt><a name="BrowserConnectionGoneException-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
79 <dl><dt><a name="BrowserConnectionGoneException-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#BrowserConnectionGoneException-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl>
81 <dl><dt><a name="BrowserConnectionGoneException-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#BrowserConnectionGoneException-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl>
83 <dl><dt><a name="BrowserConnectionGoneException-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
85 <dl><dt><a name="BrowserConnectionGoneException-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#BrowserConnectionGoneException-__str__">__str__</a>() <==> str(x)</tt></dd></dl>
87 <dl><dt><a name="BrowserConnectionGoneException-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
90 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
91 <dl><dt><strong>__dict__</strong></dt>
93 <dl><dt><strong>args</strong></dt>
95 <dl><dt><strong>message</strong></dt>
97 </td></tr></table> <p>
98 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
99 <tr bgcolor="#ffc8d8">
100 <td colspan=3 valign=bottom> <br>
101 <font color="#000000" face="helvetica, arial"><a name="BrowserGoneException">class <strong>BrowserGoneException</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
103 <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
104 <td colspan=2><tt>Represents a crash of the entire browser.<br>
106 In this state, all bets are pretty much off.<br> </tt></td></tr>
108 <td width="100%"><dl><dt>Method resolution order:</dt>
109 <dd><a href="telemetry.core.exceptions.html#BrowserGoneException">BrowserGoneException</a></dd>
110 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
111 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
112 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
115 Data descriptors defined here:<br>
116 <dl><dt><strong>__weakref__</strong></dt>
117 <dd><tt>list of weak references to the object (if defined)</tt></dd>
120 Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
121 <dl><dt><a name="BrowserGoneException-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#BrowserGoneException-__init__">__init__</a>(...) initializes x; see help(type(x)) for signature</tt></dd></dl>
124 Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
125 <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#BrowserGoneException-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>
128 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
129 <dl><dt><a name="BrowserGoneException-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#BrowserGoneException-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl>
131 <dl><dt><a name="BrowserGoneException-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#BrowserGoneException-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
133 <dl><dt><a name="BrowserGoneException-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#BrowserGoneException-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl>
135 <dl><dt><a name="BrowserGoneException-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#BrowserGoneException-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br>
137 Use of negative indices is not supported.</tt></dd></dl>
139 <dl><dt><a name="BrowserGoneException-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
141 <dl><dt><a name="BrowserGoneException-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#BrowserGoneException-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl>
143 <dl><dt><a name="BrowserGoneException-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#BrowserGoneException-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl>
145 <dl><dt><a name="BrowserGoneException-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
147 <dl><dt><a name="BrowserGoneException-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#BrowserGoneException-__str__">__str__</a>() <==> str(x)</tt></dd></dl>
149 <dl><dt><a name="BrowserGoneException-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
152 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
153 <dl><dt><strong>__dict__</strong></dt>
155 <dl><dt><strong>args</strong></dt>
157 <dl><dt><strong>message</strong></dt>
159 </td></tr></table> <p>
160 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
161 <tr bgcolor="#ffc8d8">
162 <td colspan=3 valign=bottom> <br>
163 <font color="#000000" face="helvetica, arial"><a name="EvaluateException">class <strong>EvaluateException</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
165 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
166 <td width="100%"><dl><dt>Method resolution order:</dt>
167 <dd><a href="telemetry.core.exceptions.html#EvaluateException">EvaluateException</a></dd>
168 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
169 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
170 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
173 Data descriptors defined here:<br>
174 <dl><dt><strong>__weakref__</strong></dt>
175 <dd><tt>list of weak references to the object (if defined)</tt></dd>
178 Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
179 <dl><dt><a name="EvaluateException-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#EvaluateException-__init__">__init__</a>(...) initializes x; see help(type(x)) for signature</tt></dd></dl>
182 Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
183 <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#EvaluateException-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>
186 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
187 <dl><dt><a name="EvaluateException-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#EvaluateException-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl>
189 <dl><dt><a name="EvaluateException-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#EvaluateException-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
191 <dl><dt><a name="EvaluateException-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#EvaluateException-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl>
193 <dl><dt><a name="EvaluateException-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#EvaluateException-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br>
195 Use of negative indices is not supported.</tt></dd></dl>
197 <dl><dt><a name="EvaluateException-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
199 <dl><dt><a name="EvaluateException-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#EvaluateException-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl>
201 <dl><dt><a name="EvaluateException-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#EvaluateException-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl>
203 <dl><dt><a name="EvaluateException-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
205 <dl><dt><a name="EvaluateException-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#EvaluateException-__str__">__str__</a>() <==> str(x)</tt></dd></dl>
207 <dl><dt><a name="EvaluateException-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
210 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
211 <dl><dt><strong>__dict__</strong></dt>
213 <dl><dt><strong>args</strong></dt>
215 <dl><dt><strong>message</strong></dt>
217 </td></tr></table> <p>
218 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
219 <tr bgcolor="#ffc8d8">
220 <td colspan=3 valign=bottom> <br>
221 <font color="#000000" face="helvetica, arial"><a name="LoginException">class <strong>LoginException</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
223 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
224 <td width="100%"><dl><dt>Method resolution order:</dt>
225 <dd><a href="telemetry.core.exceptions.html#LoginException">LoginException</a></dd>
226 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
227 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
228 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
231 Data descriptors defined here:<br>
232 <dl><dt><strong>__weakref__</strong></dt>
233 <dd><tt>list of weak references to the object (if defined)</tt></dd>
236 Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
237 <dl><dt><a name="LoginException-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#LoginException-__init__">__init__</a>(...) initializes x; see help(type(x)) for signature</tt></dd></dl>
240 Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
241 <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#LoginException-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>
244 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
245 <dl><dt><a name="LoginException-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#LoginException-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl>
247 <dl><dt><a name="LoginException-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#LoginException-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
249 <dl><dt><a name="LoginException-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#LoginException-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl>
251 <dl><dt><a name="LoginException-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#LoginException-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br>
253 Use of negative indices is not supported.</tt></dd></dl>
255 <dl><dt><a name="LoginException-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
257 <dl><dt><a name="LoginException-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#LoginException-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl>
259 <dl><dt><a name="LoginException-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#LoginException-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl>
261 <dl><dt><a name="LoginException-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
263 <dl><dt><a name="LoginException-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#LoginException-__str__">__str__</a>() <==> str(x)</tt></dd></dl>
265 <dl><dt><a name="LoginException-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
268 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
269 <dl><dt><strong>__dict__</strong></dt>
271 <dl><dt><strong>args</strong></dt>
273 <dl><dt><strong>message</strong></dt>
275 </td></tr></table> <p>
276 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
277 <tr bgcolor="#ffc8d8">
278 <td colspan=3 valign=bottom> <br>
279 <font color="#000000" face="helvetica, arial"><a name="TabCrashException">class <strong>TabCrashException</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
281 <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
282 <td colspan=2><tt>Represents a crash of the current tab, but not the overall browser.<br>
284 In this state, the tab is gone, but the underlying browser is still alive.<br> </tt></td></tr>
286 <td width="100%"><dl><dt>Method resolution order:</dt>
287 <dd><a href="telemetry.core.exceptions.html#TabCrashException">TabCrashException</a></dd>
288 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
289 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
290 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
293 Data descriptors defined here:<br>
294 <dl><dt><strong>__weakref__</strong></dt>
295 <dd><tt>list of weak references to the object (if defined)</tt></dd>
298 Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
299 <dl><dt><a name="TabCrashException-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#TabCrashException-__init__">__init__</a>(...) initializes x; see help(type(x)) for signature</tt></dd></dl>
302 Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
303 <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#TabCrashException-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>
306 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
307 <dl><dt><a name="TabCrashException-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#TabCrashException-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl>
309 <dl><dt><a name="TabCrashException-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#TabCrashException-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
311 <dl><dt><a name="TabCrashException-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#TabCrashException-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl>
313 <dl><dt><a name="TabCrashException-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#TabCrashException-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br>
315 Use of negative indices is not supported.</tt></dd></dl>
317 <dl><dt><a name="TabCrashException-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
319 <dl><dt><a name="TabCrashException-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#TabCrashException-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl>
321 <dl><dt><a name="TabCrashException-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#TabCrashException-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl>
323 <dl><dt><a name="TabCrashException-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
325 <dl><dt><a name="TabCrashException-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#TabCrashException-__str__">__str__</a>() <==> str(x)</tt></dd></dl>
327 <dl><dt><a name="TabCrashException-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
330 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
331 <dl><dt><strong>__dict__</strong></dt>
333 <dl><dt><strong>args</strong></dt>
335 <dl><dt><strong>message</strong></dt>
337 </td></tr></table></td></tr></table>