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

Class ProhibitedAttributeError

source code

              object --+                    
                       |                    
exceptions.BaseException --+                
                           |                
        exceptions.Exception --+            
                               |            
                   PyXBException --+        
                                   |        
                     ValidationError --+    
                                       |    
                AttributeValidationError --+
                                           |
                                          ProhibitedAttributeError

Raised when an attribute that is prohibited is set or referenced in an element.

Instance Methods [hide private]
 
__unicode__(self) source code
 
__str__(self)
str(x)
source code

Inherited from AttributeValidationError: __init__

Inherited from ValidationError: details

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]

Inherited from AttributeValidationError: instance, tag, type

Inherited from ValidationError: location

Inherited from PyXBException (private): _args, _kw

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

__unicode__(self)

source code 
Overrides: exceptions.BaseException.__unicode__

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)