diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-07-31 06:39:41 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-07-31 06:39:41 +0000 |
commit | 74519c6abfeada675dfa0e4d035e45d58f0d9903 (patch) | |
tree | aff17be71b7b6f93f3bd88892498b0f92cad152c /bin/bbackupd/BackupDaemon.cpp | |
parent | 33305e22554bff7a14a8f8c3156b6eed8f184d52 (diff) |
Move InvalidConfiguration exception to CommonException.
Allows it to be used by S3Store, or in fact anything that uses Configuration.
Diffstat (limited to 'bin/bbackupd/BackupDaemon.cpp')
-rw-r--r-- | bin/bbackupd/BackupDaemon.cpp | 4 |
1 files changed, 2 insertions, 2 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()); } |