Package gavo :: Package votable :: Module common :: Class VOTableParseError
[frames] | no frames]

Class VOTableParseError

source code

              object --+                
                       |                
exceptions.BaseException --+            
                           |            
        exceptions.Exception --+        
                               |        
                utils.excs.Error --+    
                                   |    
                        VOTableError --+
                                       |
                                      VOTableParseError

Raised when something is grossly wrong with the document structure.

Note that the message passed already contains line and position. I'd like to have them in separate attributes, but the expat library mashes them up. iterparse.getParseError is the canonical way of obtaining these when you have no positional information.

Instance Methods

Inherited from utils.excs.Error: __init__, __str__

Inherited from exceptions.Exception: __new__

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

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

Properties

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__