diff options
authorChris Wilson <>2010-02-22 21:57:36 +0000
committerChris Wilson <>2010-02-22 21:57:36 +0000
commite4cdd81a9c972868985eb0f545a6ecff433238e4 (patch)
parent02835ffb3b9212ea643bdd43565c842b3ad56199 (diff)
Add some exceptions for use by database handling classes.
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/common/CommonException.txt b/lib/common/CommonException.txt
index b2819886..3daad1f8 100644
--- a/lib/common/CommonException.txt
+++ b/lib/common/CommonException.txt
@@ -45,3 +45,10 @@ IOStreamGetLineNotEnoughDataToIgnore 37 Bad value passed to IOStreamGetLine::Ign
TempDirPathTooLong 38 Your temporary directory path is too long. Check the TMP and TEMP environment variables.
ArchiveBlockIncompleteRead 39 The Store Object Info File is too short or corrupted, and will be rewritten automatically when the next backup completes.
AccessDenied 40 Access to the file or directory was denied. Please check the permissions.
+DatabaseOpenFailed 41 Failed to open the database file
+DatabaseReadFailed 42 Failed to read a record from the database file
+DatabaseWriteFailed 43 Failed to write a record from the database file
+DatabaseDeleteFailed 44 Failed to delete a record from the database file
+DatabaseCloseFailed 45 Failed to close the database file
+DatabaseRecordNotFound 46 The database does not contain the expected record
+DatabaseRecordAlreadyExists 47 The database already contains a record with this key, which was not expected