Package translate :: Package misc :: Module sparse :: Class ParserError
[hide private]
[frames] | no frames]

Class ParserError

source code

exceptions.Exception --+        
                       |        
exceptions.StandardError --+    
                           |    
       exceptions.ValueError --+
                               |
                              ParserError

Intelligent parser error

Instance Methods [hide private]
 
__init__(self, parser, message, tokennum)
takes a message and the number of the token that caused the error
source code

Inherited from exceptions.Exception: __getitem__, __str__

Method Details [hide private]

__init__(self, parser, message, tokennum)
(Constructor)

source code 

takes a message and the number of the token that caused the error

Overrides: exceptions.Exception.__init__