Show
Ignore:
Timestamp:
09/27/05 20:34:31 (19 years ago)
Author:
jerome
Message:

Ensure that human made errors (like incorrect command line options)
don't produce a traceback anymore. No need to frighten users with
such complete tracebacks and email reporting each time they mistype
some command.
Makes pykosd check more carefully the values of its command line options.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/tool.py

    r2511 r2512  
    5353 
    5454class PyKotaToolError(Exception): 
    55     """An exception for PyKota config related stuff.""" 
     55    """An exception for PyKota related stuff.""" 
    5656    def __init__(self, message = ""): 
    5757        self.message = message 
     
    6060        return self.message 
    6161    __str__ = __repr__ 
     62     
     63class PyKotaCommandLineError(PyKotaToolError) :     
     64    """An exception for Pykota command line tools.""" 
     65    pass 
    6266     
    6367def crashed(message="Bug in PyKota") :