403Webshell
Server IP : 107.13.46.68  /  Your IP : 216.73.216.232
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux mariOS 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/doc/python3-dialog/html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/python3-dialog/html/exceptions.html
<!DOCTYPE html>

<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

    <title>pythondialog-specific exceptions &#8212; pythondialog 3.5.1 documentation</title>
    <link rel="stylesheet" type="text/css" href="_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="_static/classic.css" />
    
    <script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
    <script src="_static/jquery.js"></script>
    <script src="_static/underscore.js"></script>
    <script src="_static/_sphinx_javascript_frameworks_compat.js"></script>
    <script src="_static/doctools.js"></script>
    <script src="_static/sphinx_highlight.js"></script>
    
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="Internals" href="internals.html" />
    <link rel="prev" title="The DialogBackendVersion class" href="DialogBackendVersion.html" /> 
  </head><body>
    <div class="related" role="navigation" aria-label="related navigation">
      <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="internals.html" title="Internals"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="DialogBackendVersion.html" title="The DialogBackendVersion class"
             accesskey="P">previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">pythondialog 3.5.1 documentation</a> &#187;</li>
        <li class="nav-item nav-item-this"><a href="">pythondialog-specific exceptions</a></li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <section id="pythondialog-specific-exceptions">
<h1>pythondialog-specific exceptions<a class="headerlink" href="#pythondialog-specific-exceptions" title="Permalink to this heading">¶</a></h1>
<section id="class-hierarchy">
<h2>Class hierarchy<a class="headerlink" href="#class-hierarchy" title="Permalink to this heading">¶</a></h2>
<p>Here is the hierarchy of notable exceptions raised by this module:</p>
<div class="line-block">
<div class="line"><a class="reference internal" href="#dialog.error" title="dialog.error"><code class="xref py py-exc docutils literal notranslate"><span class="pre">error</span></code></a></div>
<div class="line-block">
<div class="line"><a class="reference internal" href="#dialog.ExecutableNotFound" title="dialog.ExecutableNotFound"><code class="xref py py-exc docutils literal notranslate"><span class="pre">ExecutableNotFound</span></code></a></div>
<div class="line"><a class="reference internal" href="#dialog.BadPythonDialogUsage" title="dialog.BadPythonDialogUsage"><code class="xref py py-exc docutils literal notranslate"><span class="pre">BadPythonDialogUsage</span></code></a></div>
<div class="line"><a class="reference internal" href="#dialog.PythonDialogSystemError" title="dialog.PythonDialogSystemError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">PythonDialogSystemError</span></code></a></div>
<div class="line-block">
<div class="line"><a class="reference internal" href="#dialog.PythonDialogOSError" title="dialog.PythonDialogOSError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">PythonDialogOSError</span></code></a></div>
<div class="line-block">
<div class="line"><a class="reference internal" href="#dialog.PythonDialogIOError" title="dialog.PythonDialogIOError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">PythonDialogIOError</span></code></a>  (should not be raised starting from
Python 3.3, as <a class="reference external" href="file:///usr/share/doc/python3/html/library/exceptions.html#IOError" title="(in Python v3.11)"><code class="xref py py-exc docutils literal notranslate"><span class="pre">IOError</span></code></a> becomes
an alias of <a class="reference external" href="file:///usr/share/doc/python3/html/library/exceptions.html#OSError" title="(in Python v3.11)"><code class="xref py py-exc docutils literal notranslate"><span class="pre">OSError</span></code></a>)</div>
</div>
<div class="line"><a class="reference internal" href="#dialog.PythonDialogErrorBeforeExecInChildProcess" title="dialog.PythonDialogErrorBeforeExecInChildProcess"><code class="xref py py-exc docutils literal notranslate"><span class="pre">PythonDialogErrorBeforeExecInChildProcess</span></code></a></div>
<div class="line"><a class="reference internal" href="#dialog.PythonDialogReModuleError" title="dialog.PythonDialogReModuleError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">PythonDialogReModuleError</span></code></a></div>
</div>
<div class="line"><a class="reference internal" href="#dialog.UnexpectedDialogOutput" title="dialog.UnexpectedDialogOutput"><code class="xref py py-exc docutils literal notranslate"><span class="pre">UnexpectedDialogOutput</span></code></a></div>
<div class="line"><a class="reference internal" href="#dialog.DialogTerminatedBySignal" title="dialog.DialogTerminatedBySignal"><code class="xref py py-exc docutils literal notranslate"><span class="pre">DialogTerminatedBySignal</span></code></a></div>
<div class="line"><a class="reference internal" href="#dialog.DialogError" title="dialog.DialogError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">DialogError</span></code></a></div>
<div class="line"><a class="reference internal" href="#dialog.UnableToRetrieveBackendVersion" title="dialog.UnableToRetrieveBackendVersion"><code class="xref py py-exc docutils literal notranslate"><span class="pre">UnableToRetrieveBackendVersion</span></code></a></div>
<div class="line"><a class="reference internal" href="#dialog.UnableToParseBackendVersion" title="dialog.UnableToParseBackendVersion"><code class="xref py py-exc docutils literal notranslate"><span class="pre">UnableToParseBackendVersion</span></code></a></div>
<div class="line-block">
<div class="line"><a class="reference internal" href="#dialog.UnableToParseDialogBackendVersion" title="dialog.UnableToParseDialogBackendVersion"><code class="xref py py-exc docutils literal notranslate"><span class="pre">UnableToParseDialogBackendVersion</span></code></a></div>
</div>
<div class="line"><a class="reference internal" href="#dialog.InadequateBackendVersion" title="dialog.InadequateBackendVersion"><code class="xref py py-exc docutils literal notranslate"><span class="pre">InadequateBackendVersion</span></code></a></div>
<div class="line"><a class="reference internal" href="#dialog.PythonDialogBug" title="dialog.PythonDialogBug"><code class="xref py py-exc docutils literal notranslate"><span class="pre">PythonDialogBug</span></code></a></div>
<div class="line"><a class="reference internal" href="#dialog.ProbablyPythonBug" title="dialog.ProbablyPythonBug"><code class="xref py py-exc docutils literal notranslate"><span class="pre">ProbablyPythonBug</span></code></a></div>
</div>
</div>
<p>As you can see, every exception <em>exc</em> among them verifies:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="nb">issubclass</span><span class="p">(</span><span class="n">exc</span><span class="p">,</span> <span class="n">error</span><span class="p">)</span>
</pre></div>
</div>
<p>so if you don’t need fine-grained error handling, simply catch <a class="reference internal" href="#dialog.error" title="dialog.error"><code class="xref py py-exc docutils literal notranslate"><span class="pre">error</span></code></a>
(which will probably be accessible as <a class="reference internal" href="#dialog.error" title="dialog.error"><code class="xref py py-exc docutils literal notranslate"><span class="pre">dialog.error</span></code></a> from your program)
and you should be safe.</p>
<div class="versionchanged">
<p><span class="versionmodified changed">Changed in version 2.12: </span><a class="reference internal" href="#dialog.PythonDialogIOError" title="dialog.PythonDialogIOError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">PythonDialogIOError</span></code></a> is now a subclass of <a class="reference internal" href="#dialog.PythonDialogOSError" title="dialog.PythonDialogOSError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">PythonDialogOSError</span></code></a>
in order to help with the transition from <a class="reference external" href="file:///usr/share/doc/python3/html/library/exceptions.html#IOError" title="(in Python v3.11)"><code class="xref py py-exc docutils literal notranslate"><span class="pre">IOError</span></code></a> to <a class="reference external" href="file:///usr/share/doc/python3/html/library/exceptions.html#OSError" title="(in Python v3.11)"><code class="xref py py-exc docutils literal notranslate"><span class="pre">OSError</span></code></a>
in the Python language. With this change, you can safely replace <code class="docutils literal notranslate"><span class="pre">except</span>
<span class="pre">PythonDialogIOError</span></code> clauses with <code class="docutils literal notranslate"><span class="pre">except</span> <span class="pre">PythonDialogOSError</span></code> even if
running under Python &lt; 3.3.</p>
</div>
</section>
<section id="detailed-list">
<h2>Detailed list<a class="headerlink" href="#detailed-list" title="Permalink to this heading">¶</a></h2>
<dl class="py exception">
<dt class="sig sig-object py" id="dialog.error">
<em class="property"><span class="pre">exception</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">dialog.</span></span><span class="sig-name descname"><span class="pre">error</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">message</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/dialog.html#error"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dialog.error" title="Permalink to this definition">¶</a></dt>
<dd><p>Base class for exceptions in pythondialog.</p>
</dd></dl>

<dl class="py exception">
<dt class="sig sig-object py" id="dialog.ExecutableNotFound">
<em class="property"><span class="pre">exception</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">dialog.</span></span><span class="sig-name descname"><span class="pre">ExecutableNotFound</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">message</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/dialog.html#ExecutableNotFound"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dialog.ExecutableNotFound" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#dialog.error" title="dialog.error"><code class="xref py py-class docutils literal notranslate"><span class="pre">error</span></code></a></p>
<p>Exception raised when the <strong class="program">dialog</strong> executable can’t be found.</p>
</dd></dl>

<dl class="py exception">
<dt class="sig sig-object py" id="dialog.BadPythonDialogUsage">
<em class="property"><span class="pre">exception</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">dialog.</span></span><span class="sig-name descname"><span class="pre">BadPythonDialogUsage</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">message</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/dialog.html#BadPythonDialogUsage"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dialog.BadPythonDialogUsage" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#dialog.error" title="dialog.error"><code class="xref py py-class docutils literal notranslate"><span class="pre">error</span></code></a></p>
<p>Exception raised when pythondialog is used in an incorrect way.</p>
</dd></dl>

<dl class="py exception">
<dt class="sig sig-object py" id="dialog.PythonDialogSystemError">
<em class="property"><span class="pre">exception</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">dialog.</span></span><span class="sig-name descname"><span class="pre">PythonDialogSystemError</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">message</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/dialog.html#PythonDialogSystemError"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dialog.PythonDialogSystemError" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#dialog.error" title="dialog.error"><code class="xref py py-class docutils literal notranslate"><span class="pre">error</span></code></a></p>
<p>Exception raised when pythondialog cannot perform a “system operation” (e.g., a system call) that should work in “normal” situations.</p>
<p>This is a convenience exception: <a class="reference internal" href="#dialog.PythonDialogIOError" title="dialog.PythonDialogIOError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">PythonDialogIOError</span></code></a>,
<a class="reference internal" href="#dialog.PythonDialogOSError" title="dialog.PythonDialogOSError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">PythonDialogOSError</span></code></a> and
<a class="reference internal" href="#dialog.PythonDialogErrorBeforeExecInChildProcess" title="dialog.PythonDialogErrorBeforeExecInChildProcess"><code class="xref py py-exc docutils literal notranslate"><span class="pre">PythonDialogErrorBeforeExecInChildProcess</span></code></a> all derive from
this exception. As a consequence, watching for
<a class="reference internal" href="#dialog.PythonDialogSystemError" title="dialog.PythonDialogSystemError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">PythonDialogSystemError</span></code></a> instead of the aformentioned
exceptions is enough if you don’t need precise details about these
kinds of errors.</p>
<p>Don’t confuse this exception with Python’s builtin
<a class="reference external" href="file:///usr/share/doc/python3/html/library/exceptions.html#SystemError" title="(in Python v3.11)"><code class="xref py py-exc docutils literal notranslate"><span class="pre">SystemError</span></code></a> exception.</p>
</dd></dl>

<dl class="py exception">
<dt class="sig sig-object py" id="dialog.PythonDialogOSError">
<em class="property"><span class="pre">exception</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">dialog.</span></span><span class="sig-name descname"><span class="pre">PythonDialogOSError</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">message</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/dialog.html#PythonDialogOSError"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dialog.PythonDialogOSError" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#dialog.PythonDialogSystemError" title="dialog.PythonDialogSystemError"><code class="xref py py-class docutils literal notranslate"><span class="pre">PythonDialogSystemError</span></code></a></p>
<p>Exception raised when pythondialog catches an <a class="reference external" href="file:///usr/share/doc/python3/html/library/exceptions.html#OSError" title="(in Python v3.11)"><code class="xref py py-exc docutils literal notranslate"><span class="pre">OSError</span></code></a> exception that should be passed to the calling program.</p>
</dd></dl>

<dl class="py exception">
<dt class="sig sig-object py" id="dialog.PythonDialogIOError">
<em class="property"><span class="pre">exception</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">dialog.</span></span><span class="sig-name descname"><span class="pre">PythonDialogIOError</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">message</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/dialog.html#PythonDialogIOError"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dialog.PythonDialogIOError" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#dialog.PythonDialogOSError" title="dialog.PythonDialogOSError"><code class="xref py py-class docutils literal notranslate"><span class="pre">PythonDialogOSError</span></code></a></p>
<p>Exception raised when pythondialog catches an <a class="reference external" href="file:///usr/share/doc/python3/html/library/exceptions.html#IOError" title="(in Python v3.11)"><code class="xref py py-exc docutils literal notranslate"><span class="pre">IOError</span></code></a> exception that should be passed to the calling program.</p>
<p>This exception should not be raised starting from Python 3.3, as the
built-in exception <a class="reference external" href="file:///usr/share/doc/python3/html/library/exceptions.html#IOError" title="(in Python v3.11)"><code class="xref py py-exc docutils literal notranslate"><span class="pre">IOError</span></code></a> becomes an alias of
<a class="reference external" href="file:///usr/share/doc/python3/html/library/exceptions.html#OSError" title="(in Python v3.11)"><code class="xref py py-exc docutils literal notranslate"><span class="pre">OSError</span></code></a>.</p>
<div class="versionchanged">
<p><span class="versionmodified changed">Changed in version 2.12: </span><a class="reference internal" href="#dialog.PythonDialogIOError" title="dialog.PythonDialogIOError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">PythonDialogIOError</span></code></a> is now a subclass of
<a class="reference internal" href="#dialog.PythonDialogOSError" title="dialog.PythonDialogOSError"><code class="xref py py-exc docutils literal notranslate"><span class="pre">PythonDialogOSError</span></code></a> in order to help with the transition
from <a class="reference external" href="file:///usr/share/doc/python3/html/library/exceptions.html#IOError" title="(in Python v3.11)"><code class="xref py py-exc docutils literal notranslate"><span class="pre">IOError</span></code></a> to <a class="reference external" href="file:///usr/share/doc/python3/html/library/exceptions.html#OSError" title="(in Python v3.11)"><code class="xref py py-exc docutils literal notranslate"><span class="pre">OSError</span></code></a> in the Python language.
With this change, you can safely replace <code class="docutils literal notranslate"><span class="pre">except</span>
<span class="pre">PythonDialogIOError</span></code> clauses with <code class="docutils literal notranslate"><span class="pre">except</span> <span class="pre">PythonDialogOSError</span></code>
even if running under Python &lt; 3.3.</p>
</div>
</dd></dl>

<dl class="py exception">
<dt class="sig sig-object py" id="dialog.PythonDialogErrorBeforeExecInChildProcess">
<em class="property"><span class="pre">exception</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">dialog.</span></span><span class="sig-name descname"><span class="pre">PythonDialogErrorBeforeExecInChildProcess</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">message</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/dialog.html#PythonDialogErrorBeforeExecInChildProcess"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dialog.PythonDialogErrorBeforeExecInChildProcess" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#dialog.PythonDialogSystemError" title="dialog.PythonDialogSystemError"><code class="xref py py-class docutils literal notranslate"><span class="pre">PythonDialogSystemError</span></code></a></p>
<p>Exception raised when an exception is caught in a child process before the exec sytem call (included).</p>
<p>This can happen in uncomfortable situations such as:</p>
<blockquote>
<div><ul class="simple">
<li><p>the system being out of memory;</p></li>
<li><p>the maximum number of open file descriptors being reached;</p></li>
<li><p>the <strong class="program">dialog</strong>-like program being removed (or made
non-executable) between the time we found it with
<code class="xref py py-func docutils literal notranslate"><span class="pre">_find_in_path()</span></code> and the time the exec system call
attempted to execute it;</p></li>
<li><p>the Python program trying to call the <strong class="program">dialog</strong>-like
program with arguments that cannot be represented in the user’s
locale (<span class="target" id="index-0"></span><code class="xref std std-envvar docutils literal notranslate"><span class="pre">LC_CTYPE</span></code>).</p></li>
</ul>
</div></blockquote>
</dd></dl>

<dl class="py exception">
<dt class="sig sig-object py" id="dialog.PythonDialogReModuleError">
<em class="property"><span class="pre">exception</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">dialog.</span></span><span class="sig-name descname"><span class="pre">PythonDialogReModuleError</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">message</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/dialog.html#PythonDialogReModuleError"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dialog.PythonDialogReModuleError" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#dialog.PythonDialogSystemError" title="dialog.PythonDialogSystemError"><code class="xref py py-class docutils literal notranslate"><span class="pre">PythonDialogSystemError</span></code></a></p>
<p>Exception raised when pythondialog catches a <a class="reference external" href="file:///usr/share/doc/python3/html/library/re.html#re.error" title="(in Python v3.11)"><code class="xref py py-exc docutils literal notranslate"><span class="pre">re.error</span></code></a> exception.</p>
</dd></dl>

<dl class="py exception">
<dt class="sig sig-object py" id="dialog.UnexpectedDialogOutput">
<em class="property"><span class="pre">exception</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">dialog.</span></span><span class="sig-name descname"><span class="pre">UnexpectedDialogOutput</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">message</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/dialog.html#UnexpectedDialogOutput"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dialog.UnexpectedDialogOutput" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#dialog.error" title="dialog.error"><code class="xref py py-class docutils literal notranslate"><span class="pre">error</span></code></a></p>
<p>Exception raised when the <strong class="program">dialog</strong>-like program returns something not expected by pythondialog.</p>
</dd></dl>

<dl class="py exception">
<dt class="sig sig-object py" id="dialog.DialogTerminatedBySignal">
<em class="property"><span class="pre">exception</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">dialog.</span></span><span class="sig-name descname"><span class="pre">DialogTerminatedBySignal</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">message</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/dialog.html#DialogTerminatedBySignal"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dialog.DialogTerminatedBySignal" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#dialog.error" title="dialog.error"><code class="xref py py-class docutils literal notranslate"><span class="pre">error</span></code></a></p>
<p>Exception raised when the <strong class="program">dialog</strong>-like program is terminated by a signal.</p>
</dd></dl>

<dl class="py exception">
<dt class="sig sig-object py" id="dialog.DialogError">
<em class="property"><span class="pre">exception</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">dialog.</span></span><span class="sig-name descname"><span class="pre">DialogError</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">message</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/dialog.html#DialogError"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dialog.DialogError" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#dialog.error" title="dialog.error"><code class="xref py py-class docutils literal notranslate"><span class="pre">error</span></code></a></p>
<p>Exception raised when the <strong class="program">dialog</strong>-like program exits with the code indicating an error.</p>
</dd></dl>

<dl class="py exception">
<dt class="sig sig-object py" id="dialog.UnableToRetrieveBackendVersion">
<em class="property"><span class="pre">exception</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">dialog.</span></span><span class="sig-name descname"><span class="pre">UnableToRetrieveBackendVersion</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">message</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/dialog.html#UnableToRetrieveBackendVersion"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dialog.UnableToRetrieveBackendVersion" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#dialog.error" title="dialog.error"><code class="xref py py-class docutils literal notranslate"><span class="pre">error</span></code></a></p>
<p>Exception raised when we cannot retrieve the version string of the <strong class="program">dialog</strong>-like backend.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.14.</span></p>
</div>
</dd></dl>

<dl class="py exception">
<dt class="sig sig-object py" id="dialog.UnableToParseBackendVersion">
<em class="property"><span class="pre">exception</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">dialog.</span></span><span class="sig-name descname"><span class="pre">UnableToParseBackendVersion</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">message</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/dialog.html#UnableToParseBackendVersion"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dialog.UnableToParseBackendVersion" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#dialog.error" title="dialog.error"><code class="xref py py-class docutils literal notranslate"><span class="pre">error</span></code></a></p>
<p>Exception raised when we cannot parse the version string of the <strong class="program">dialog</strong>-like backend.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.14.</span></p>
</div>
</dd></dl>

<dl class="py exception">
<dt class="sig sig-object py" id="dialog.UnableToParseDialogBackendVersion">
<em class="property"><span class="pre">exception</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">dialog.</span></span><span class="sig-name descname"><span class="pre">UnableToParseDialogBackendVersion</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">message</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/dialog.html#UnableToParseDialogBackendVersion"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dialog.UnableToParseDialogBackendVersion" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#dialog.UnableToParseBackendVersion" title="dialog.UnableToParseBackendVersion"><code class="xref py py-class docutils literal notranslate"><span class="pre">UnableToParseBackendVersion</span></code></a></p>
<p>Exception raised when we cannot parse the version string of the <strong class="program">dialog</strong> backend.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.14.</span></p>
</div>
</dd></dl>

<dl class="py exception">
<dt class="sig sig-object py" id="dialog.InadequateBackendVersion">
<em class="property"><span class="pre">exception</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">dialog.</span></span><span class="sig-name descname"><span class="pre">InadequateBackendVersion</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">message</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/dialog.html#InadequateBackendVersion"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dialog.InadequateBackendVersion" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#dialog.error" title="dialog.error"><code class="xref py py-class docutils literal notranslate"><span class="pre">error</span></code></a></p>
<p>Exception raised when the backend version in use is inadequate in a given situation.</p>
<div class="versionadded">
<p><span class="versionmodified added">New in version 2.14.</span></p>
</div>
</dd></dl>

<dl class="py exception">
<dt class="sig sig-object py" id="dialog.PythonDialogBug">
<em class="property"><span class="pre">exception</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">dialog.</span></span><span class="sig-name descname"><span class="pre">PythonDialogBug</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">message</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/dialog.html#PythonDialogBug"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dialog.PythonDialogBug" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#dialog.error" title="dialog.error"><code class="xref py py-class docutils literal notranslate"><span class="pre">error</span></code></a></p>
<p>Exception raised when pythondialog finds a bug in his own code.</p>
</dd></dl>

<dl class="py exception">
<dt class="sig sig-object py" id="dialog.ProbablyPythonBug">
<em class="property"><span class="pre">exception</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">dialog.</span></span><span class="sig-name descname"><span class="pre">ProbablyPythonBug</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">message</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/dialog.html#ProbablyPythonBug"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#dialog.ProbablyPythonBug" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#dialog.error" title="dialog.error"><code class="xref py py-class docutils literal notranslate"><span class="pre">error</span></code></a></p>
<p>Exception raised when pythondialog behaves in a way that seems to indicate a Python bug.</p>
</dd></dl>

</section>
</section>


            <div class="clearer"></div>
          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
  <div>
    <h3><a href="index.html">Table of Contents</a></h3>
    <ul>
<li><a class="reference internal" href="#">pythondialog-specific exceptions</a><ul>
<li><a class="reference internal" href="#class-hierarchy">Class hierarchy</a></li>
<li><a class="reference internal" href="#detailed-list">Detailed list</a><ul>
<li><a class="reference internal" href="#dialog.error"><code class="docutils literal notranslate"><span class="pre">error</span></code></a></li>
<li><a class="reference internal" href="#dialog.ExecutableNotFound"><code class="docutils literal notranslate"><span class="pre">ExecutableNotFound</span></code></a></li>
<li><a class="reference internal" href="#dialog.BadPythonDialogUsage"><code class="docutils literal notranslate"><span class="pre">BadPythonDialogUsage</span></code></a></li>
<li><a class="reference internal" href="#dialog.PythonDialogSystemError"><code class="docutils literal notranslate"><span class="pre">PythonDialogSystemError</span></code></a></li>
<li><a class="reference internal" href="#dialog.PythonDialogOSError"><code class="docutils literal notranslate"><span class="pre">PythonDialogOSError</span></code></a></li>
<li><a class="reference internal" href="#dialog.PythonDialogIOError"><code class="docutils literal notranslate"><span class="pre">PythonDialogIOError</span></code></a></li>
<li><a class="reference internal" href="#dialog.PythonDialogErrorBeforeExecInChildProcess"><code class="docutils literal notranslate"><span class="pre">PythonDialogErrorBeforeExecInChildProcess</span></code></a></li>
<li><a class="reference internal" href="#dialog.PythonDialogReModuleError"><code class="docutils literal notranslate"><span class="pre">PythonDialogReModuleError</span></code></a></li>
<li><a class="reference internal" href="#dialog.UnexpectedDialogOutput"><code class="docutils literal notranslate"><span class="pre">UnexpectedDialogOutput</span></code></a></li>
<li><a class="reference internal" href="#dialog.DialogTerminatedBySignal"><code class="docutils literal notranslate"><span class="pre">DialogTerminatedBySignal</span></code></a></li>
<li><a class="reference internal" href="#dialog.DialogError"><code class="docutils literal notranslate"><span class="pre">DialogError</span></code></a></li>
<li><a class="reference internal" href="#dialog.UnableToRetrieveBackendVersion"><code class="docutils literal notranslate"><span class="pre">UnableToRetrieveBackendVersion</span></code></a></li>
<li><a class="reference internal" href="#dialog.UnableToParseBackendVersion"><code class="docutils literal notranslate"><span class="pre">UnableToParseBackendVersion</span></code></a></li>
<li><a class="reference internal" href="#dialog.UnableToParseDialogBackendVersion"><code class="docutils literal notranslate"><span class="pre">UnableToParseDialogBackendVersion</span></code></a></li>
<li><a class="reference internal" href="#dialog.InadequateBackendVersion"><code class="docutils literal notranslate"><span class="pre">InadequateBackendVersion</span></code></a></li>
<li><a class="reference internal" href="#dialog.PythonDialogBug"><code class="docutils literal notranslate"><span class="pre">PythonDialogBug</span></code></a></li>
<li><a class="reference internal" href="#dialog.ProbablyPythonBug"><code class="docutils literal notranslate"><span class="pre">ProbablyPythonBug</span></code></a></li>
</ul>
</li>
</ul>
</li>
</ul>

  </div>
  <div>
    <h4>Previous topic</h4>
    <p class="topless"><a href="DialogBackendVersion.html"
                          title="previous chapter">The <code class="xref py py-class docutils literal notranslate"><span class="pre">DialogBackendVersion</span></code> class</a></p>
  </div>
  <div>
    <h4>Next topic</h4>
    <p class="topless"><a href="internals.html"
                          title="next chapter">Internals</a></p>
  </div>
  <div role="note" aria-label="source link">
    <h3>This Page</h3>
    <ul class="this-page-menu">
      <li><a href="_sources/exceptions.rst.txt"
            rel="nofollow">Show Source</a></li>
    </ul>
   </div>
<div id="searchbox" style="display: none" role="search">
  <h3 id="searchlabel">Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>
    </div>
</div>
<script>document.getElementById('searchbox').style.display = "block"</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <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="internals.html" title="Internals"
             >next</a> |</li>
        <li class="right" >
          <a href="DialogBackendVersion.html" title="The DialogBackendVersion class"
             >previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">pythondialog 3.5.1 documentation</a> &#187;</li>
        <li class="nav-item nav-item-this"><a href="">pythondialog-specific exceptions</a></li> 
      </ul>
    </div>
    <div class="footer" role="contentinfo">
        &#169; Copyright 2002-2023, Florent Rougon, Thomas Dickey.
      Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 5.3.0.
    </div>
  </body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit