summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/bbackupd/BackupDaemon.cpp4
-rw-r--r--lib/backupclient/ClientException.txt1
-rw-r--r--lib/common/CommonException.txt1
3 files changed, 3 insertions, 3 deletions
diff --git a/bin/bbackupd/BackupDaemon.cpp b/bin/bbackupd/BackupDaemon.cpp
index 41b68d02..5b11097c 100644
--- a/bin/bbackupd/BackupDaemon.cpp
+++ b/bin/bbackupd/BackupDaemon.cpp
@@ -52,7 +52,7 @@
#include "SSLLib.h"
#include "autogen_BackupProtocol.h"
-#include "autogen_ClientException.h"
+#include "autogen_CommonException.h"
#include "autogen_ConversionException.h"
#include "Archive.h"
#include "BackupClientContext.h"
@@ -358,7 +358,7 @@ void BackupDaemon::SetupInInitialProcess()
if(missingRequiredKeys)
{
- THROW_EXCEPTION_MESSAGE(ClientException, InvalidConfiguration,
+ THROW_EXCEPTION_MESSAGE(CommonException, InvalidConfiguration,
"Some required configuration keys are missing in " <<
GetConfigFileName());
}
diff --git a/lib/backupclient/ClientException.txt b/lib/backupclient/ClientException.txt
index 2e3b7a8a..04f88620 100644
--- a/lib/backupclient/ClientException.txt
+++ b/lib/backupclient/ClientException.txt
@@ -9,4 +9,3 @@ AssertFailed 1
ClockWentBackwards 2 Invalid (negative) sync period: perhaps your clock is going backwards?
FailedToDeleteStoreObjectInfoFile 3 Failed to delete the StoreObjectInfoFile, backup cannot continue safely.
CorruptStoreObjectInfoFile 4 The store object info file contained an invalid value and is probably corrupt. Try deleting it.
-InvalidConfiguration 5 Some required values are missing or incorrect in the configuration file.
diff --git a/lib/common/CommonException.txt b/lib/common/CommonException.txt
index deca57ba..610ba1a8 100644
--- a/lib/common/CommonException.txt
+++ b/lib/common/CommonException.txt
@@ -56,3 +56,4 @@ DatabaseRecordBadSize 48 The database contains a record with an invalid size
DatabaseIterateFailed 49 Failed to iterate over the database keys
ReferenceNotFound 50 The database does not contain an expected reference
TimersNotInitialised 51 The timer framework should have been ready at this point
+InvalidConfiguration 52 Some required values are missing or incorrect in the configuration file.