Package pyxb :: Module exceptions_ :: Class ContentInNilElementError
[hide private]
[frames] | no frames]

Class ContentInNilElementError

source code

              object --+                        
                       |                        
exceptions.BaseException --+                    
                           |                    
        exceptions.Exception --+                
                               |                
                   PyXBException --+            
                                   |            
                    BadDocumentError --+        
                                       |        
              StructuralBadDocumentError --+    
                                           |    
                           ExtraContentError --+
                                               |
                                              ContentInNilElementError

Raised when an element that is marked to be nil has content.

Instance Methods [hide private]

Inherited from StructuralBadDocumentError: __init__

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Class Variables [hide private]

Inherited from PyXBException (private): _args, _kw

Properties [hide private]

Inherited from StructuralBadDocumentError: container, content, element_use

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__