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

Class UnboundElementError

source code

              object --+                
                       |                
exceptions.BaseException --+            
                           |            
        exceptions.Exception --+        
                               |        
                   PyXBException --+    
                                   |    
                  DOMGenerationError --+
                                       |
                                      UnboundElementError

An instance converting to DOM had no bound element.

Instance Methods [hide private]
 
__init__(self, instance)
Create an exception indicating a PyXB-related problem.
source code
 
__str__(self)
str(x)
 
__unicode__(self) source code

Inherited from PyXBException (private): _str_from_unicode

Inherited from exceptions.Exception: __new__

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

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

Class Variables [hide private]
  instance = None
The binding instance.

Inherited from PyXBException (private): _args, _kw

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

__init__(self, instance)
(Constructor)

source code 

Create an exception indicating a PyXB-related problem.

If no args are present, a default argument is taken from the message keyword.

Parameters:
  • message - Text to provide the user with information about the problem.
Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)

__unicode__(self)

source code 
Overrides: exceptions.BaseException.__unicode__

Class Variable Details [hide private]

instance

The binding instance. This is missing an element binding (via pyxb.binding.basis._TypeBinding_mixin._element) and no element_name was passed.

Value:
None