361 lines
20 KiB
HTML
361 lines
20 KiB
HTML
<?xml version="1.0" encoding="ascii"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<title>entropy.exceptions.EntropyException</title>
|
|
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
|
<script type="text/javascript" src="epydoc.js"></script>
|
|
</head>
|
|
|
|
<body bgcolor="white" text="black" link="blue" vlink="#204080"
|
|
alink="#204080">
|
|
<!-- ==================== NAVIGATION BAR ==================== -->
|
|
<table class="navbar" border="0" width="100%" cellpadding="0"
|
|
bgcolor="#a0c0ff" cellspacing="0">
|
|
<tr valign="middle">
|
|
<!-- Home link -->
|
|
<th> <a
|
|
href="entropy-module.html">Home</a> </th>
|
|
|
|
<!-- Tree link -->
|
|
<th> <a
|
|
href="module-tree.html">Trees</a> </th>
|
|
|
|
<!-- Index link -->
|
|
<th> <a
|
|
href="identifier-index.html">Indices</a> </th>
|
|
|
|
<!-- Help link -->
|
|
<th> <a
|
|
href="help.html">Help</a> </th>
|
|
|
|
<!-- Project homepage -->
|
|
<th class="navbar" align="right" width="100%">
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><th class="navbar" align="center"
|
|
><a class="navbar" target="_top" href="http://www.sabayon.org/">Entropy Framework</a></th>
|
|
</tr></table></th>
|
|
</tr>
|
|
</table>
|
|
<table width="100%" cellpadding="0" cellspacing="0">
|
|
<tr valign="top">
|
|
<td width="100%">
|
|
<span class="breadcrumbs">
|
|
<a href="entropy-module.html">Package entropy</a> ::
|
|
<a href="entropy.exceptions-module.html">Module exceptions</a> ::
|
|
Class EntropyException
|
|
</span>
|
|
</td>
|
|
<td>
|
|
<table cellpadding="0" cellspacing="0">
|
|
<!-- hide/show private -->
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
|
<h1 class="epydoc">Class EntropyException</h1><p class="nomargin-top"><span class="codelink"><a href="entropy.exceptions-pysrc.html#EntropyException">source code</a></span></p>
|
|
<center>
|
|
<center> <map id="uml_class_diagram_for_entropy__37" name="uml_class_diagram_for_entropy__37">
|
|
<area shape="rect" id="node129" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="3369,31,3536,49"/>
|
|
<area shape="rect" id="node129" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="3369,49,3536,68"/>
|
|
<area shape="rect" id="node129" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="3369,71,3536,89"/>
|
|
<area shape="rect" id="node129" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="3369,89,3536,108"/>
|
|
<area shape="rect" id="node129" href="javascript:void(0);" title="x[y]" alt="" coords="3369,108,3536,127"/>
|
|
<area shape="rect" id="node129" href="javascript:void(0);" title="x[i:j]" alt="" coords="3369,127,3536,145"/>
|
|
<area shape="rect" id="node129" href="javascript:void(0);" title="helper for pickle" alt="" coords="3369,145,3536,164"/>
|
|
<area shape="rect" id="node129" href="javascript:void(0);" title="repr(x)" alt="" coords="3369,164,3536,183"/>
|
|
<area shape="rect" id="node129" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="3369,183,3536,201"/>
|
|
<area shape="rect" id="node129" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="3369,201,3536,220"/>
|
|
<area shape="rect" id="node1" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="3357,6,3547,226"/>
|
|
<area shape="rect" id="node128" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="3385,279,3520,297"/>
|
|
<area shape="rect" id="node38" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="3373,246,3531,303"/>
|
|
<area shape="rect" id="node2" href="entropy.security.Repository.GPGError-class.html" title="Errors during GPG commands execution" alt="" coords="491,438,712,477"/>
|
|
<area shape="rect" id="node4" href="entropy.security.Repository.GPGServiceNotAvailable-class.html" title="A particular feature or service is not available" alt="" coords="5,497,320,535"/>
|
|
<area shape="rect" id="node5" href="entropy.security.Repository.KeyExpired-class.html" title="Public/private key is expired!" alt="" coords="349,497,579,535"/>
|
|
<area shape="rect" id="node11" href="entropy.security.Repository.NothingImported-class.html" title="Public/private key not imported" alt="" coords="608,497,872,535"/>
|
|
<area shape="rect" id="node21" href="entropy.security.Repository.KeyAlreadyInstalled-class.html" title="Public/private key already installed" alt="" coords="901,497,1184,535"/>
|
|
<area shape="rect" id="node3" href="entropy.exceptions.CorruptionError-class.html" title="Corruption indication" alt="" coords="741,438,875,477"/>
|
|
<area shape="rect" id="node6" href="entropy.exceptions.DependenciesNotFound-class.html" title="During dependencies calculation, dependencies were not found, list (set) of missing dependencies are in the .value attribute" alt="" coords="904,438,1093,477"/>
|
|
<area shape="rect" id="node7" href="entropy.exceptions.InvalidAtom-class.html" title="Atom not properly formatted" alt="" coords="1123,438,1232,477"/>
|
|
<area shape="rect" id="node8" href="entropy.exceptions.QueueError-class.html" title="Action queue issue" alt="" coords="1261,438,1371,477"/>
|
|
<area shape="rect" id="node9" href="entropy.exceptions.EntropyRepositoryError-class.html" title="An Entropy-related error occured in EntropyRepository class methods" alt="" coords="1400,438,1584,477"/>
|
|
<area shape="rect" id="node10" href="entropy.exceptions.PermissionDenied-class.html" title="Permission denied" alt="" coords="1613,438,1763,477"/>
|
|
<area shape="rect" id="node12" href="entropy.exceptions.LibraryNotFound-class.html" title="A required library was not available or executable" alt="" coords="1792,438,1933,477"/>
|
|
<area shape="rect" id="node13" href="entropy.exceptions.CommandNotFound-class.html" title="A required binary was not available or executable" alt="" coords="1963,438,2123,477"/>
|
|
<area shape="rect" id="node14" href="entropy.exceptions.SSLError-class.html" title="SSL support is not available" alt="" coords="2152,438,2245,477"/>
|
|
<area shape="rect" id="node15" href="entropy.exceptions.SPMError-class.html" title="Source Package Manager generic errors" alt="" coords="2275,438,2373,477"/>
|
|
<area shape="rect" id="node16" href="entropy.exceptions.ReadOnlyFileSystem-class.html" title="Read-only file system" alt="" coords="2403,438,2571,477"/>
|
|
<area shape="rect" id="node17" href="entropy.exceptions.OperationNotPermitted-class.html" title="An operation was not permitted operating system" alt="" coords="2600,438,2781,477"/>
|
|
<area shape="rect" id="node18" href="entropy.exceptions.InvalidVersionString-class.html" title="An invalid version string has been encountered" alt="" coords="2811,438,2973,477"/>
|
|
<area shape="rect" id="node19" href="entropy.exceptions.IncorrectParameter-class.html" title="A parameter of the wrong type was passed" alt="" coords="3003,438,3160,477"/>
|
|
<area shape="rect" id="node20" href="entropy.exceptions.OnlineMirrorError-class.html" title="Mirror issue" alt="" coords="3189,438,3336,477"/>
|
|
<area shape="rect" id="node22" href="entropy.exceptions.DirectoryNotFound-class.html" title="A directory was not found when it was expected to exist" alt="" coords="5861,497,6016,535"/>
|
|
<area shape="rect" id="node23" href="entropy.exceptions.CacheCorruptionError-class.html" title="On-Disk cache Corruption indication" alt="" coords="3365,438,3541,477"/>
|
|
<area shape="rect" id="node24" href="entropy.exceptions.SecurityViolation-class.html" title="An incorrect formatting was passed instead of the expected one" alt="" coords="3571,438,3712,477"/>
|
|
<area shape="rect" id="node25" href="entropy.exceptions.RepositoryError-class.html" title="Cannot open repository database" alt="" coords="3741,438,3877,477"/>
|
|
<area shape="rect" id="node26" href="entropy.exceptions.ConnectionError-class.html" title="Cannot connect to service" alt="" coords="3907,438,4048,477"/>
|
|
<area shape="rect" id="node27" href="entropy.exceptions.MissingParameter-class.html" title="A parameter is required for the action requested but was not passed" alt="" coords="4077,438,4227,477"/>
|
|
<area shape="rect" id="node28" href="entropy.exceptions.EntropyPackageException-class.html" title="Malformed or missing package data" alt="" coords="4256,438,4459,477"/>
|
|
<area shape="rect" id="node29" href="entropy.exceptions.ParseError-class.html" title="An error was generated while attempting to parse the request" alt="" coords="4488,438,4592,477"/>
|
|
<area shape="rect" id="node30" href="entropy.exceptions.TimeoutError-class.html" title="Generic Timeout Error exception" alt="" coords="4621,438,4739,477"/>
|
|
<area shape="rect" id="node31" href="entropy.security.System.UpdateError-class.html" title="Raised when security advisories couldn't be updated correctly" alt="" coords="4768,438,4981,477"/>
|
|
<area shape="rect" id="node32" href="entropy.exceptions.InvalidPackageSet-class.html" title="Package set does not exist" alt="" coords="5011,438,5163,477"/>
|
|
<area shape="rect" id="node127" href="entropy.exceptions.EntropyException-class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="3388,356,3517,375"/>
|
|
<area shape="rect" id="node127" href="entropy.exceptions.EntropyException-class.html#__unicode__" title="entropy.exceptions.EntropyException.__unicode__" alt="" coords="3388,375,3517,393"/>
|
|
<area shape="rect" id="node127" href="entropy.exceptions.EntropyException-class.html#__str__" title="str(x)" alt="" coords="3388,393,3517,412"/>
|
|
<area shape="rect" id="node33" href="entropy.exceptions.EntropyException-class.html" title="General superclass for Entropy exceptions" alt="" coords="3376,323,3528,418"/>
|
|
<area shape="rect" id="node34" href="entropy.exceptions.InvalidDependString-class.html" title="An invalid depend string has been encountered" alt="" coords="5192,438,5357,477"/>
|
|
<area shape="rect" id="node35" href="entropy.exceptions.RepositoryPluginError-class.html" title="Error during EntropyRepositoryPlugin hook execution" alt="" coords="5387,438,5560,477"/>
|
|
<area shape="rect" id="node36" href="entropy.exceptions.UriHandlerNotFound-class.html" title="Raised when URI handler (in entropy.transceivers.EntropyTransceiver) for given URI is not available." alt="" coords="5589,438,5755,477"/>
|
|
<area shape="rect" id="node37" href="entropy.exceptions.TransceiverError-class.html" title="FTP errors" alt="" coords="5784,438,5928,477"/>
|
|
<area shape="rect" id="node40" href="entropy.exceptions.InvalidLocation-class.html" title="Data was not found when it was expected to exist or was specified incorrectly" alt="" coords="5957,438,6088,477"/>
|
|
<area shape="rect" id="node41" href="entropy.exceptions.SystemDatabaseError-class.html" title="Cannot open system database" alt="" coords="6117,438,6291,477"/>
|
|
<area shape="rect" id="node42" href="entropy.exceptions.InterruptError-class.html" title="Raised to interrupt a thread or process" alt="" coords="6320,438,6440,477"/>
|
|
<area shape="rect" id="node39" href="entropy.exceptions.FileNotFound-class.html" title="A file was not found when it was expected to exist" alt="" coords="6045,497,6165,535"/>
|
|
</map>
|
|
<img src="uml_class_diagram_for_entropy__37.gif" alt='' usemap="#uml_class_diagram_for_entropy__37" ismap="ismap" class="graph-without-title" />
|
|
</center>
|
|
</center>
|
|
<hr />
|
|
<p>General superclass for Entropy exceptions</p>
|
|
|
|
<!-- ==================== INSTANCE METHODS ==================== -->
|
|
<a name="section-InstanceMethods"></a>
|
|
<table class="summary" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td align="left" colspan="2" class="table-header">
|
|
<span class="table-header">Instance Methods</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a href="entropy.exceptions.EntropyException-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">value</span>)</span><br />
|
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="entropy.exceptions-pysrc.html#EntropyException.__init__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a href="entropy.exceptions.EntropyException-class.html#__unicode__" class="summary-sig-name">__unicode__</a>(<span class="summary-sig-arg">self</span>)</span></td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="entropy.exceptions-pysrc.html#EntropyException.__unicode__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a href="entropy.exceptions.EntropyException-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
str(x)</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="entropy.exceptions-pysrc.html#EntropyException.__str__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" class="summary">
|
|
<p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.Exception</code></b>:
|
|
<code>__new__</code>
|
|
</p>
|
|
<p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
|
|
<code>__delattr__</code>,
|
|
<code>__getattribute__</code>,
|
|
<code>__getitem__</code>,
|
|
<code>__getslice__</code>,
|
|
<code>__reduce__</code>,
|
|
<code>__repr__</code>,
|
|
<code>__setattr__</code>,
|
|
<code>__setstate__</code>
|
|
</p>
|
|
<p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
|
|
<code>__format__</code>,
|
|
<code>__hash__</code>,
|
|
<code>__reduce_ex__</code>,
|
|
<code>__sizeof__</code>,
|
|
<code>__subclasshook__</code>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- ==================== PROPERTIES ==================== -->
|
|
<a name="section-Properties"></a>
|
|
<table class="summary" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td align="left" colspan="2" class="table-header">
|
|
<span class="table-header">Properties</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" class="summary">
|
|
<p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
|
|
<code>args</code>,
|
|
<code>message</code>
|
|
</p>
|
|
<p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
|
|
<code>__class__</code>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- ==================== METHOD DETAILS ==================== -->
|
|
<a name="section-MethodDetails"></a>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td align="left" colspan="2" class="table-header">
|
|
<span class="table-header">Method Details</span></td>
|
|
</tr>
|
|
</table>
|
|
<a name="__init__"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr valign="top"><td>
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
|
|
<span class="sig-arg">value</span>)</span>
|
|
<br /><em class="fname">(Constructor)</em>
|
|
</h3>
|
|
</td><td align="right" valign="top"
|
|
><span class="codelink"><a href="entropy.exceptions-pysrc.html#EntropyException.__init__">source code</a></span>
|
|
</td>
|
|
</tr></table>
|
|
|
|
<p>x.__init__(...) initializes x; see x.__class__.__doc__ for
|
|
signature</p>
|
|
<dl class="fields">
|
|
<dt>Overrides:
|
|
object.__init__
|
|
<dd><em class="note">(inherited documentation)</em></dd>
|
|
</dt>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="__unicode__"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr valign="top"><td>
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">__unicode__</span>(<span class="sig-arg">self</span>)</span>
|
|
</h3>
|
|
</td><td align="right" valign="top"
|
|
><span class="codelink"><a href="entropy.exceptions-pysrc.html#EntropyException.__unicode__">source code</a></span>
|
|
</td>
|
|
</tr></table>
|
|
|
|
|
|
<dl class="fields">
|
|
<dt>Overrides:
|
|
exceptions.BaseException.__unicode__
|
|
</dt>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="__str__"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr valign="top"><td>
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span>
|
|
<br /><em class="fname">(Informal representation operator)</em>
|
|
</h3>
|
|
</td><td align="right" valign="top"
|
|
><span class="codelink"><a href="entropy.exceptions-pysrc.html#EntropyException.__str__">source code</a></span>
|
|
</td>
|
|
</tr></table>
|
|
|
|
<p>str(x)</p>
|
|
<dl class="fields">
|
|
<dt>Overrides:
|
|
object.__str__
|
|
<dd><em class="note">(inherited documentation)</em></dd>
|
|
</dt>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<br />
|
|
<!-- ==================== NAVIGATION BAR ==================== -->
|
|
<table class="navbar" border="0" width="100%" cellpadding="0"
|
|
bgcolor="#a0c0ff" cellspacing="0">
|
|
<tr valign="middle">
|
|
<!-- Home link -->
|
|
<th> <a
|
|
href="entropy-module.html">Home</a> </th>
|
|
|
|
<!-- Tree link -->
|
|
<th> <a
|
|
href="module-tree.html">Trees</a> </th>
|
|
|
|
<!-- Index link -->
|
|
<th> <a
|
|
href="identifier-index.html">Indices</a> </th>
|
|
|
|
<!-- Help link -->
|
|
<th> <a
|
|
href="help.html">Help</a> </th>
|
|
|
|
<!-- Project homepage -->
|
|
<th class="navbar" align="right" width="100%">
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><th class="navbar" align="center"
|
|
><a class="navbar" target="_top" href="http://www.sabayon.org/">Entropy Framework</a></th>
|
|
</tr></table></th>
|
|
</tr>
|
|
</table>
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
|
<tr>
|
|
<td align="left" class="footer">
|
|
Generated by Epydoc 3.0.1 on Sat Apr 17 12:39:37 2010
|
|
</td>
|
|
<td align="right" class="footer">
|
|
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
|
>http://epydoc.sourceforge.net</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<script type="text/javascript">
|
|
<!--
|
|
// Private objects are initially displayed (because if
|
|
// javascript is turned off then we want them to be
|
|
// visible); but by default, we want to hide them. So hide
|
|
// them unless we have a cookie that says to show them.
|
|
checkCookie();
|
|
// -->
|
|
</script>
|
|
</body>
|
|
</html>
|