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

Class SimplePluralValueError

source code

              object --+                    
                       |                    
exceptions.BaseException --+                
                           |                
        exceptions.Exception --+            
                               |            
                   PyXBException --+        
                                   |        
                     ValidationError --+    
                                       |    
                    SimpleTypeValueError --+
                                           |
                                          SimplePluralValueError

Raised when context requires a plural value.

Unlike SimpleListValueError, in this case the plurality is external to type, for example when an element has simple content and allows multiple occurrences.

Instance Methods [hide private]

Inherited from SimpleTypeValueError: __init__, __str__, __unicode__

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 SimpleTypeValueError: type, value

Inherited from ValidationError: location

Inherited from PyXBException (private): _args, _kw

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__