<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Pyro4.errors — Exception classes — Pyro 4.21 documentation</title> <link rel="stylesheet" href="../_static/default.css" type="text/css" /> <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../', VERSION: '4.21', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="../_static/jquery.js"></script> <script type="text/javascript" src="../_static/underscore.js"></script> <script type="text/javascript" src="../_static/doctools.js"></script> <link rel="top" title="Pyro 4.21 documentation" href="../index.html" /> <link rel="up" title="Pyro4 library API" href="../api.html" /> <link rel="next" title="Pyro4.test.echoserver — Built-in echo server for testing purposes" href="echoserver.html" /> <link rel="prev" title="Pyro4.config — Configuration items" href="config.html" /> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="echoserver.html" title="Pyro4.test.echoserver — Built-in echo server for testing purposes" accesskey="N">next</a> |</li> <li class="right" > <a href="config.html" title="Pyro4.config — Configuration items" accesskey="P">previous</a> |</li> <li><a href="../index.html">Pyro 4.21 documentation</a> »</li> <li><a href="../api.html" accesskey="U">Pyro4 library API</a> »</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="pyro4-errors-exception-classes"> <h1><a class="reference internal" href="#module-Pyro4.errors" title="Pyro4.errors"><tt class="xref py py-mod docutils literal"><span class="pre">Pyro4.errors</span></tt></a> — Exception classes<a class="headerlink" href="#pyro4-errors-exception-classes" title="Permalink to this headline">¶</a></h1> <p>The exception hierarchy is as follows:</p> <div class="highlight-python"><pre>Exception | +-- PyroError | +-- NamingError +-- DaemonError +-- SecurityError +-- CommunicationError | +-- ConnectionClosedError +-- ProtocolError +-- TimeoutError</pre> </div> <span class="target" id="module-Pyro4.errors"></span><p>Definition of the various exceptions that are used in Pyro.</p> <dl class="exception"> <dt id="Pyro4.errors.CommunicationError"> <em class="property">exception </em><tt class="descclassname">Pyro4.errors.</tt><tt class="descname">CommunicationError</tt><a class="headerlink" href="#Pyro4.errors.CommunicationError" title="Permalink to this definition">¶</a></dt> <dd><p>Base class for the errors related to network communication problems.</p> </dd></dl> <dl class="exception"> <dt id="Pyro4.errors.ConnectionClosedError"> <em class="property">exception </em><tt class="descclassname">Pyro4.errors.</tt><tt class="descname">ConnectionClosedError</tt><a class="headerlink" href="#Pyro4.errors.ConnectionClosedError" title="Permalink to this definition">¶</a></dt> <dd><p>The connection was unexpectedly closed.</p> </dd></dl> <dl class="exception"> <dt id="Pyro4.errors.DaemonError"> <em class="property">exception </em><tt class="descclassname">Pyro4.errors.</tt><tt class="descname">DaemonError</tt><a class="headerlink" href="#Pyro4.errors.DaemonError" title="Permalink to this definition">¶</a></dt> <dd><p>The Daemon encountered a problem.</p> </dd></dl> <dl class="exception"> <dt id="Pyro4.errors.NamingError"> <em class="property">exception </em><tt class="descclassname">Pyro4.errors.</tt><tt class="descname">NamingError</tt><a class="headerlink" href="#Pyro4.errors.NamingError" title="Permalink to this definition">¶</a></dt> <dd><p>There was a problem related to the name server or object names.</p> </dd></dl> <dl class="exception"> <dt id="Pyro4.errors.ProtocolError"> <em class="property">exception </em><tt class="descclassname">Pyro4.errors.</tt><tt class="descname">ProtocolError</tt><a class="headerlink" href="#Pyro4.errors.ProtocolError" title="Permalink to this definition">¶</a></dt> <dd><p>Pyro received a message that didn’t match the active Pyro network protocol, or there was a protocol related error.</p> </dd></dl> <dl class="exception"> <dt id="Pyro4.errors.PyroError"> <em class="property">exception </em><tt class="descclassname">Pyro4.errors.</tt><tt class="descname">PyroError</tt><a class="headerlink" href="#Pyro4.errors.PyroError" title="Permalink to this definition">¶</a></dt> <dd><p>Generic base of all Pyro-specific errors.</p> </dd></dl> <dl class="exception"> <dt id="Pyro4.errors.SecurityError"> <em class="property">exception </em><tt class="descclassname">Pyro4.errors.</tt><tt class="descname">SecurityError</tt><a class="headerlink" href="#Pyro4.errors.SecurityError" title="Permalink to this definition">¶</a></dt> <dd><p>A security related error occurred.</p> </dd></dl> <dl class="exception"> <dt id="Pyro4.errors.TimeoutError"> <em class="property">exception </em><tt class="descclassname">Pyro4.errors.</tt><tt class="descname">TimeoutError</tt><a class="headerlink" href="#Pyro4.errors.TimeoutError" title="Permalink to this definition">¶</a></dt> <dd><p>A call could not be completed within the set timeout period, or the network caused a timeout.</p> </dd></dl> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <p class="logo"><a href="../index.html"> <img class="logo" src="../_static/pyro.png" alt="Logo"/> </a></p> <h4>Previous topic</h4> <p class="topless"><a href="config.html" title="previous chapter"><tt class="docutils literal"><span class="pre">Pyro4.config</span></tt> — Configuration items</a></p> <h4>Next topic</h4> <p class="topless"><a href="echoserver.html" title="next chapter"><tt class="docutils literal"><span class="pre">Pyro4.test.echoserver</span></tt> — Built-in echo server for testing purposes</a></p> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="../search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="echoserver.html" title="Pyro4.test.echoserver — Built-in echo server for testing purposes" >next</a> |</li> <li class="right" > <a href="config.html" title="Pyro4.config — Configuration items" >previous</a> |</li> <li><a href="../index.html">Pyro 4.21 documentation</a> »</li> <li><a href="../api.html" >Pyro4 library API</a> »</li> </ul> </div> <div class="footer"> © Copyright Irmen de Jong. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3. </div> </body> </html>