Show
Ignore:
Timestamp:
04/04/05 00:28:37 (20 years ago)
Author:
jerome
Message:

Moved the code into the submodules

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/pdlanalyzer/pdlparser.py

    r192 r193  
    2020# 
    2121 
     22class PDLParserError(Exception): 
     23    """An exception for PDLParser related stuff.""" 
     24    def __init__(self, message = ""): 
     25        self.message = message 
     26        Exception.__init__(self, message) 
     27    def __repr__(self): 
     28        return self.message 
     29    __str__ = __repr__ 
     30         
    2231class PDLParser : 
    2332    """Generic PDL parser."""