Sophie

Sophie

distrib > Fedora > 17 > i386 > media > updates > by-pkgid > b50d8ee6d7871fcc13c0677a9364ed59 > files > 28

bcfg2-doc-1.3.0-1.fc17.noarch.rpm



<!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>Bcfg2.Server.Plugin.exceptions &mdash; Bcfg2 1.3.0 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:     '1.3.0',
        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>
    <script type="text/javascript" src="../../../../_static/sidebar.js"></script>
    <link rel="shortcut icon" href="../../../../_static/favicon.ico"/>
    <link rel="top" title="Bcfg2 1.3.0 documentation" href="../../../../index.html" />
    <link rel="up" title="Bcfg2.Server.Plugin" href="../Plugin.html" />
 
<link rel="stylesheet" href="../../../../_static/bcfg2.css" type=""/>

  </head>
  <body>

<div style="text-align: left; padding: 10px 10px 15px 15px">
<a href="../../../../index.html"><img src="../../../../_static/bcfg2_logo.png" border="0" alt="sampledoc"/></a>
</div>

    <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="../../../../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
	<li><a href="../../../../index.html">home</a> |&nbsp;</li>
	<!--<li><a href="../../../../search.html">search</a> |&nbsp;</li>-->
	<li><a href="../../../../help/index.html">help</a> |&nbsp;</li>
	<li><a href="../../../../contents.html">documentation </a> &raquo;</li>

          <li><a href="../../../index.html" >Module code</a> &raquo;</li>
          <li><a href="../Plugin.html" accesskey="U">Bcfg2.Server.Plugin</a> &raquo;</li> 
      </ul>
    </div>
  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <h1>Source code for Bcfg2.Server.Plugin.exceptions</h1><div class="highlight"><pre>
<span class="sd">&quot;&quot;&quot; Exceptions for Bcfg2 Server Plugins.&quot;&quot;&quot;</span>


<div class="viewcode-block" id="PluginInitError"><a class="viewcode-back" href="../../../../development/plugins.html#Bcfg2.Server.Plugin.exceptions.PluginInitError">[docs]</a><span class="k">class</span> <span class="nc">PluginInitError</span><span class="p">(</span><span class="ne">Exception</span><span class="p">):</span>
    <span class="sd">&quot;&quot;&quot;Error raised in cases of</span>
<span class="sd">    :class:`Bcfg2.Server.Plugin.base.Plugin` initialization errors.&quot;&quot;&quot;</span>
    <span class="k">pass</span>

</div>
<div class="viewcode-block" id="PluginExecutionError"><a class="viewcode-back" href="../../../../development/plugins.html#Bcfg2.Server.Plugin.exceptions.PluginExecutionError">[docs]</a><span class="k">class</span> <span class="nc">PluginExecutionError</span><span class="p">(</span><span class="ne">Exception</span><span class="p">):</span>
    <span class="sd">&quot;&quot;&quot;Error raised in case of</span>
<span class="sd">    :class:`Bcfg2.Server.Plugin.base.Plugin` execution errors.&quot;&quot;&quot;</span>
    <span class="k">pass</span>

</div>
<div class="viewcode-block" id="MetadataConsistencyError"><a class="viewcode-back" href="../../../../development/plugins.html#Bcfg2.Server.Plugin.exceptions.MetadataConsistencyError">[docs]</a><span class="k">class</span> <span class="nc">MetadataConsistencyError</span><span class="p">(</span><span class="ne">Exception</span><span class="p">):</span>
    <span class="sd">&quot;&quot;&quot;This error gets raised when metadata is internally</span>
<span class="sd">    inconsistent.&quot;&quot;&quot;</span>
    <span class="k">pass</span>

</div>
<div class="viewcode-block" id="MetadataRuntimeError"><a class="viewcode-back" href="../../../../development/plugins.html#Bcfg2.Server.Plugin.exceptions.MetadataRuntimeError">[docs]</a><span class="k">class</span> <span class="nc">MetadataRuntimeError</span><span class="p">(</span><span class="ne">Exception</span><span class="p">):</span>
    <span class="sd">&quot;&quot;&quot;This error is raised when the metadata engine is called prior</span>
<span class="sd">    to reading enough data, or for other</span>
<span class="sd">    :class:`Bcfg2.Server.Plugin.interfaces.Metadata` errors.&quot;&quot;&quot;</span>
    <span class="k">pass</span>

</div>
<div class="viewcode-block" id="ValidationError"><a class="viewcode-back" href="../../../../development/plugins.html#Bcfg2.Server.Plugin.exceptions.ValidationError">[docs]</a><span class="k">class</span> <span class="nc">ValidationError</span><span class="p">(</span><span class="ne">Exception</span><span class="p">):</span>
    <span class="sd">&quot;&quot;&quot; Exception raised by</span>
<span class="sd">    :class:`Bcfg2.Server.Plugin.interfaces.StructureValidator` and</span>
<span class="sd">    :class:`Bcfg2.Server.Plugin.interfaces.GoalValidator` objects &quot;&quot;&quot;</span>

</div>
<div class="viewcode-block" id="SpecificityError"><a class="viewcode-back" href="../../../../development/plugins.html#Bcfg2.Server.Plugin.exceptions.SpecificityError">[docs]</a><span class="k">class</span> <span class="nc">SpecificityError</span><span class="p">(</span><span class="ne">Exception</span><span class="p">):</span>
    <span class="sd">&quot;&quot;&quot; Thrown by :class:`Bcfg2.Server.Plugin.helpers.Specificity` in</span>
<span class="sd">    case of filename parse failure.&quot;&quot;&quot;</span>
    <span class="k">pass</span></div>
</pre></div>

          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
<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="../../../../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
	<li><a href="../../../../index.html">home</a> |&nbsp;</li>
	<!--<li><a href="../../../../search.html">search</a> |&nbsp;</li>-->
	<li><a href="../../../../help/index.html">help</a> |&nbsp;</li>
	<li><a href="../../../../contents.html">documentation </a> &raquo;</li>

          <li><a href="../../../index.html" >Module code</a> &raquo;</li>
          <li><a href="../Plugin.html" >Bcfg2.Server.Plugin</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2009-2013, Narayan Desai.
      Last updated on Mar 20, 2013.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
    </div>
  </body>
</html>