Home | Trees | Indices | Help |
|
---|
|
object --+ | exceptions.BaseException --+ | exceptions.Exception --+ | PyXBException --+ | ValidationError --+ | ComplexTypeValidationError --+ | AbstractInstantiationError
Attempt to create an instance of an abstract complex type.
These types are analogous to abstract base classes, and cannot be created directly. A type should be used that extends the abstract class.
When an incoming document is missing the xsi:type attribute which redirects an element with an abstract type to the correct type, the node attribute is provided so the user can get a clue as to where the problem occured. When this exception is a result of constructor mis-use in Python code, the traceback will tell you where the problem lies.
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
type = None The abstract pyxb.binding.basis.complexTypeDefinition subclass used. |
|||
node = None The xml.dom.Element from which instantiation was attempted, if available. |
|||
Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
Create an exception indicating a PyXB-related problem. If no args are present, a default argument is taken from the
|
str(x)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Dec 17 13:09:08 2012 | http://epydoc.sourceforge.net |