Package Martel :: Module Parser :: Class ParserException
[show private | hide private]
[frames | no frames]

Class ParserException

Exception --+    
            |    
 SAXException --+
                |
               ParserException

Known Subclasses:
ParserPositionException, ParserRecordException

used when a parse cannot be done
Method Summary
  setLocation(self, text)
    Inherited from SAXException
  __init__(self, msg, exception)
Creates an exception.
  __getitem__(self, ix)
Avoids weird error messages if someone does exception[ix] by mistake, since Exception has __getitem__ defined.
  __str__(self)
Create a string representation of the exception.
  getException(self)
Return the embedded exception, or None if there was none.
  getMessage(self)
Return a message for this exception.

Generated by Epydoc 2.1 on Thu Mar 31 20:15:38 2005 http://epydoc.sf.net