Package lxml :: Module etree :: Class DocumentInvalid
[hide private]
[frames] | no frames]

Class DocumentInvalid

              object --+                
                       |                
exceptions.BaseException --+            
                           |            
        exceptions.Exception --+        
                               |        
                           Error --+    
                                   |    
                           LxmlError --+
                                       |
                                      DocumentInvalid

Validation error.

Raised by all document validators when their assertValid(tree) method fails.

Instance Methods [hide private]
a new object with type S, a subtype of T
__new__(T, S, ...)

Inherited from LxmlError: __init__

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

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

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__