| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/pyOpenSSL-0.9/html/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>4.1 Exceptions </title> <META NAME="description" CONTENT="4.1 Exceptions "> <META NAME="keywords" CONTENT="pyOpenSSL"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <link rel="STYLESHEET" href="pyOpenSSL.css"> <LINK REL="next" href="callbacks.html"> <LINK REL="previous" href="internals.html"> <LINK REL="up" href="internals.html"> <LINK REL="next" href="callbacks.html"> </head> <body> <DIV CLASS="navigation"> <table align="center" width="100%" cellpadding="0" cellspacing="2"> <tr> <td><A href="internals.html"><img src="previous.gif" border="0" height="32" alt="Previous Page" width="32"></A></td> <td><A href="internals.html"><img src="up.gif" border="0" height="32" alt="Up One Level" width="32"></A></td> <td><A href="callbacks.html"><img src="next.gif" border="0" height="32" alt="Next Page" width="32"></A></td> <td align="center" width="100%">Python OpenSSL Manual</td> <td><A href="contents.html"><img src="contents.gif" border="0" height="32" alt="Contents" width="32"></A></td> <td><img src="blank.gif" border="0" height="32" alt="" width="32"></td> <td><img src="blank.gif" border="0" height="32" alt="" width="32"></td> </tr></table> <b class="navlabel">Previous:</b> <a class="sectref" href="internals.html">4 Internals</A> <b class="navlabel">Up:</b> <a class="sectref" href="internals.html">4 Internals</A> <b class="navlabel">Next:</b> <a class="sectref" href="callbacks.html">4.2 Callbacks</A> <br><hr> </DIV> <!--End of Navigation Panel--> <H2><A NAME="SECTION000510000000000000000"> </A> <BR> 4.1 Exceptions </H2> <P> We realized early that most of the exceptions would be raised by the I/O functions of OpenSSL, so it felt natural to mimic OpenSSL's error code system, translating them into Python exceptions. This naturally gives us the exceptions <tt class="exception">SSL.ZeroReturnError</tt>, <tt class="exception">SSL.WantReadError</tt>, <tt class="exception">SSL.WantWriteError</tt>, <tt class="exception">SSL.WantX509LookupError</tt> and <tt class="exception">SSL.SysCallError</tt>. <P> For more information about this, see section <A href="openssl-ssl.html#openssl-ssl">3.3</A>. <P> <DIV CLASS="navigation"> <p><hr> <table align="center" width="100%" cellpadding="0" cellspacing="2"> <tr> <td><A href="internals.html"><img src="previous.gif" border="0" height="32" alt="Previous Page" width="32"></A></td> <td><A href="internals.html"><img src="up.gif" border="0" height="32" alt="Up One Level" width="32"></A></td> <td><A href="callbacks.html"><img src="next.gif" border="0" height="32" alt="Next Page" width="32"></A></td> <td align="center" width="100%">Python OpenSSL Manual</td> <td><A href="contents.html"><img src="contents.gif" border="0" height="32" alt="Contents" width="32"></A></td> <td><img src="blank.gif" border="0" height="32" alt="" width="32"></td> <td><img src="blank.gif" border="0" height="32" alt="" width="32"></td> </tr></table> <b class="navlabel">Previous:</b> <a class="sectref" href="internals.html">4 Internals</A> <b class="navlabel">Up:</b> <a class="sectref" href="internals.html">4 Internals</A> <b class="navlabel">Next:</b> <a class="sectref" href="callbacks.html">4.2 Callbacks</A> <hr> <span class="release-info">Release 0.9.</span> </DIV> <!--End of Navigation Panel--> </BODY> </HTML>