root/trunk/infrastructure/pyd/doc/exception.html

Revision 25, 2.8 kB (checked in by KirkMcDonald, 2 years ago)

Fleshed out the docs a little.

Line 
1 <html><head>
2 <meta http-equiv="content-type" content="text/html; charset=utf-8">
3 <meta content="text/javascript" http-equiv="content-script-type">
4 <title>pyd.exception</title>
5 <link rel="stylesheet" type="text/css" href="candydoc/style.css">
6 <!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="candydoc/ie56hack.css"><![endif]-->
7 <script language="JavaScript" src="candydoc/util.js" type="text/javascript"></script>
8 <script language="JavaScript" src="candydoc/tree.js" type="text/javascript"></script>
9 <script language="JavaScript" src="candydoc/explorer.js" type="text/javascript"></script>
10 </head><body>
11 <div id="tabarea"></div><div id="explorerclient"></div>
12 <div id="content"><script>explorer.initialize("pyd.exception");</script>
13     <table class="content">
14         <tr><td id="docbody"><h1>pyd.exception</h1><!-- Generated by Ddoc from pyd\exception.d -->
15 <br><br>
16
17 <script>explorer.outline.incSymbolLevel();</script>
18 <dl>
19 <script>explorer.outline.writeEnabled = true;</script>
20 <dt><span class="decl">void
21 <span class="currsymbol">handle_exception</span>
22 <script>explorer.outline.addDecl('handle_exception');</script>
23
24 ();
25 </span></dt>
26 <script>explorer.outline.writeEnabled = false;</script>
27
28
29 <dd>This function first checks if a Python exception is set, and then (if one
30  is) pulls it out, stuffs it in a PythonException, and throws that exception.
31 <br><br>
32 If this exception is never caught, it will be handled by the function
33  wrapping template and passed right back into Python as though nothing
34  happened.
35  
36 <br><br>
37
38 </dd>
39
40 <script>explorer.outline.writeEnabled = true;</script>
41 <dt><span class="decl">class
42 <span class="currsymbol">PythonException</span>
43 <script>explorer.outline.addDecl('PythonException');</script>
44
45 : object.Exception;
46 </span></dt>
47 <script>explorer.outline.writeEnabled = false;</script>
48
49
50 <dd>This simple exception class holds a Python exception.
51  
52 <br><br>
53
54
55 <script>explorer.outline.incSymbolLevel();</script>
56 <dl></dl>
57 <script>explorer.outline.decSymbolLevel();</script>
58
59
60 </dd>
61 </dl>
62 <script>explorer.outline.decSymbolLevel();</script>
63
64
65 </td></tr>
66         <tr><td id="docfooter">
67             Page was generated with
68             <img src="candydoc/img/candydoc.gif" style="vertical-align:middle; position:relative; top:-1px">
69             on Sat Jul  1 22:14:02 2006
70
71         </td></tr>
72     </table>
73 </div>
74 <script>
75     explorer.packageExplorer.addModule("pyd.class_wrap");
76     explorer.packageExplorer.addModule("pyd.ctor_wrap");
77     explorer.packageExplorer.addModule("pyd.def");
78     explorer.packageExplorer.addModule("pyd.dg_convert");
79     explorer.packageExplorer.addModule("pyd.exception");
80     explorer.packageExplorer.addModule("pyd.ftype");
81     explorer.packageExplorer.addModule("pyd.make_object");
82     explorer.packageExplorer.addModule("pyd.object");
83     explorer.packageExplorer.addModule("pyd.pyd");</script>
84 </body></html>
Note: See TracBrowser for help on using the browser.