Changeset 3288 for pykota/trunk/pykota/storage.py
- Timestamp:
- 01/11/08 19:08:24 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storage.py
r3276 r3288 27 27 from mx import DateTime 28 28 29 class PyKotaStorageError(Exception): 30 """An exception for database 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 38 29 from pykota.errors import PyKotaStorageError 30 39 31 class StorageObject : 40 32 """Object present in the database."""