<?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>pyxb.exceptions_</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="pyxb-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" >PyXB hosted on <a href="http://sourceforge.net/projects/pyxb"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=263147&type=9" width="80" height="15" alt="Get PyXB: Python XML Schema Bindings at SourceForge.net. Fast, secure and Free Open Source software downloads"/></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="pyxb-module.html">Package pyxb</a> :: Module exceptions_ </span> </td> <td> <table cellpadding="0" cellspacing="0"> <!-- hide/show private --> <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" onclick="toggle_private();">hide private</a>]</span></td></tr> <tr><td align="right"><span class="options" >[<a href="frames.html" target="_top">frames</a >] | <a href="pyxb.exceptions_-module.html" target="_top">no frames</a>]</span></td></tr> </table> </td> </tr> </table> <!-- ==================== MODULE DESCRIPTION ==================== --> <h1 class="epydoc">Module exceptions_</h1><p class="nomargin-top"><span class="codelink"><a href="pyxb.exceptions_-pysrc.html">source code</a></span></p> <p>Extensions of standard exceptions for PyXB events.</p> <p>Yeah, I'd love this module to be named exceptions.py, but it can't because the standard library has one of those, and we need to reference it below.</p> <!-- ==================== CLASSES ==================== --> <a name="section-Classes"></a> <table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr bgcolor="#70b0f0" class="table-header"> <td colspan="2" class="table-header"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td align="left"><span class="table-header">Classes</span></td> <td align="right" valign="top" ><span class="options">[<a href="#section-Classes" class="privatelink" onclick="toggle_private();" >hide private</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"> <a href="pyxb.exceptions_.PyXBException-class.html" class="summary-name">PyXBException</a><br /> Base class for exceptions that indicate a problem that the user should fix. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.SchemaValidationError-class.html" class="summary-name">SchemaValidationError</a><br /> Raised when the XML hierarchy does not appear to be valid for an XML schema. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.NamespaceError-class.html" class="summary-name">NamespaceError</a><br /> Violation of some rule relevant to XML Namespaces </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.NamespaceArchiveError-class.html" class="summary-name">NamespaceArchiveError</a><br /> Problem related to namespace archives </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.SchemaUniquenessError-class.html" class="summary-name">SchemaUniquenessError</a><br /> Raised when somebody tries to create a schema component using a schema that has already been used in that namespace. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.BindingGenerationError-class.html" class="summary-name">BindingGenerationError</a><br /> Raised when something goes wrong generating the binding classes </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.NamespaceUniquenessError-class.html" class="summary-name">NamespaceUniquenessError</a><br /> Raised when an attempt is made to record multiple objects of the same name in the same namespace category. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.BadTypeValueError-class.html" class="summary-name">BadTypeValueError</a><br /> Raised when a value in an XML attribute does not conform to the simple type. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.NotInNamespaceError-class.html" class="summary-name">NotInNamespaceError</a><br /> Raised when a name is referenced that is not defined in the appropriate namespace. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.BadPropertyError-class.html" class="summary-name">BadPropertyError</a><br /> Raised when a schema component property is accessed on a component instance that does not define that property. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.BadDocumentError-class.html" class="summary-name">BadDocumentError</a><br /> Raised when processing document content and an error is encountered. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.StructuralBadDocumentError-class.html" class="summary-name">StructuralBadDocumentError</a><br /> Raised when processing document and the content model is not satisfied. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.AbstractElementError-class.html" class="summary-name">AbstractElementError</a><br /> Raised when attempting to construct an element that is abstract. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.UnrecognizedContentError-class.html" class="summary-name">UnrecognizedContentError</a><br /> Raised when processing document and an element does not match the content model. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.UnrecognizedElementError-class.html" class="summary-name">UnrecognizedElementError</a><br /> Raised when creating an instance from a document with an unrecognized root element. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.MissingElementError-class.html" class="summary-name">MissingElementError</a><br /> Content requires an element that is not present. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.UnexpectedElementError-class.html" class="summary-name">UnexpectedElementError</a><br /> More instances of an element are present than permitted by the content model. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.ExtraContentError-class.html" class="summary-name">ExtraContentError</a><br /> Raised when processing document and there is more material in an element content than expected. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.ContentInNilElementError-class.html" class="summary-name">ContentInNilElementError</a><br /> Raised when an element that is marked to be nil has content. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.MissingContentError-class.html" class="summary-name">MissingContentError</a><br /> Raised when processing document and expected content is not present. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.NotAnElementError-class.html" class="summary-name">NotAnElementError</a><br /> Raised when processing document and a tag that is a type but not an element is encountered. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.UnrecognizedAttributeError-class.html" class="summary-name">UnrecognizedAttributeError</a><br /> Raised when an attribute is found that is not sanctioned by the content model. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.ValidationError-class.html" class="summary-name">ValidationError</a><br /> Raised when something in the infoset fails to satisfy a content model or attribute requirement. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.AttributeValidationError-class.html" class="summary-name">AttributeValidationError</a><br /> Raised when an attribute requirement is not satisfied. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.ProhibitedAttributeError-class.html" class="summary-name">ProhibitedAttributeError</a><br /> Raised when an attribute that is prohibited is provided in an element. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.MissingAttributeError-class.html" class="summary-name">MissingAttributeError</a><br /> Raised when an attribute that is required is missing in an element. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.AttributeChangeError-class.html" class="summary-name">AttributeChangeError</a><br /> Raised when an attribute with a fixed value constraint is set to a different value. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.AbstractInstantiationError-class.html" class="summary-name">AbstractInstantiationError</a><br /> Raised when somebody tries to instantiate an abstract complex type. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.DOMGenerationError-class.html" class="summary-name">DOMGenerationError</a><br /> Raised when converting binding to DOM and something goes wrong. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.NoNillableSupportError-class.html" class="summary-name">NoNillableSupportError</a><br /> Raised when checking _isNil on a type that does not support nillable. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.BindingValidationError-class.html" class="summary-name">BindingValidationError</a><br /> Raised when the content of a binding object is not consistent with its content model </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.UnexpectedNonElementContentError-class.html" class="summary-name">UnexpectedNonElementContentError</a><br /> Raised when an element is given non-element content but may not contain such. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.NoContentModel-class.html" class="summary-name">NoContentModel</a><br /> Raised when an operation is attempted that requires a content model, but the complex type has empty or simple content. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.BindingError-class.html" class="summary-name">BindingError</a><br /> Raised when the bindings are mis-used. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.NotSimpleContentError-class.html" class="summary-name">NotSimpleContentError</a><br /> Raised when an operation that requires simple content is invoked on a complex type that does not have simple content. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.NotComplexContentError-class.html" class="summary-name">NotComplexContentError</a><br /> Raised when an operation is attempted that requires a content model, but the complex type has empty or simple content. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.PyXBError-class.html" class="summary-name">PyXBError</a><br /> Base class for exceptions that indicate a problem that the user probably can't fix. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.UsageError-class.html" class="summary-name">UsageError</a><br /> Raised when the code detects arguments to a public operation. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.LogicError-class.html" class="summary-name">LogicError</a><br /> Raised when the code detects an implementation problem. </td> </tr> <tr> <td width="15%" align="right" valign="top" class="summary"> <span class="summary-type"> </span> </td><td class="summary"> <a href="pyxb.exceptions_.IncompleteImplementationError-class.html" class="summary-name">IncompleteImplementationError</a><br /> Raised when a code branch is taken that has not yet been implemented. </td> </tr> </table> <!-- ==================== VARIABLES ==================== --> <a name="section-Variables"></a> <table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white"> <tr bgcolor="#70b0f0" class="table-header"> <td colspan="2" class="table-header"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"> <td align="left"><span class="table-header">Variables</span></td> <td align="right" valign="top" ><span class="options">[<a href="#section-Variables" class="privatelink" onclick="toggle_private();" >hide private</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"> <a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'pyxb'"><code class="variable-quote">'</code><code class="variable-string">pyxb</code><code class="variable-quote">'</code></code> </td> </tr> </table> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Home link --> <th> <a href="pyxb-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" >PyXB hosted on <a href="http://sourceforge.net/projects/pyxb"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=263147&type=9" width="80" height="15" alt="Get PyXB: Python XML Schema Bindings at SourceForge.net. Fast, secure and Free Open Source software downloads"/></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 Sun May 30 12:40:27 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>