Package ZestyParser :: Module Parser :: Class ParseError
[show private | hide private]
[frames | no frames]

Class ParseError

Exception --+    
            |    
        Error --+
                |
               ParseError


Raised by a token to indicate that a parse error has occurred.
Method Summary
  __init__(self, parser, message)
  __str__(self)
Prints the error message and the row and column corresponding to the parser's cursor.
    Inherited from Exception
  __getitem__(...)

Method Details

__init__(self, parser, message)
(Constructor)

Parameters:
parser - The parser instance that encountered the error.
           (type=ZestyParser)
message - A message explaining the error.
           (type=str)
Overrides:
exceptions.Exception.__init__

__str__(self)
(Informal representation operator)

Prints the error message and the row and column corresponding to the parser's cursor.
Overrides:
exceptions.Exception.__str__

Generated by Epydoc 2.1 on Thu Apr 26 01:32:22 2007 http://epydoc.sf.net