Show
Ignore:
Timestamp:
01/11/08 19:08:24 (16 years ago)
Author:
jerome
Message:

Moved all exceptions definitions to a dedicated module.

Files:
1 modified

Legend:

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

    r3275 r3288  
    2727import imp 
    2828 
    29 class PyKotaAccounterError(Exception): 
    30     """An exception for Accounter related stuff.""" 
    31     def __init__(self, message = ""): 
    32         self.message = message 
    33         Exception.__init__(self, message) 
    34     def __repr__(self): 
    35         return self.message 
    36     __str__ = __repr__ 
    37      
     29from pykota.errors import PyKotaAccounterError 
     30 
    3831class AccounterBase :     
    3932    """A class to account print usage by querying printers."""