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

Class NotAnElementError

source code

              object --+                        
                       |                        
exceptions.BaseException --+                    
                           |                    
        exceptions.Exception --+                
                               |                
                   PyXBException --+            
                                   |            
                    BadDocumentError --+        
                                       |        
              StructuralBadDocumentError --+    
                                           |    
                    UnrecognizedContentError --+
                                               |
                                              NotAnElementError

Raised when processing document and a tag that is a type but not an element is encountered.

Instance Methods [hide private]

Inherited from exceptions.Exception: __init__, __new__

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

Inherited from object: __hash__, __reduce_ex__

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__