diff options
Diffstat (limited to 'db/repl/rs_exception.h')
-rw-r--r--[-rwxr-xr-x] | db/repl/rs_exception.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/db/repl/rs_exception.h b/db/repl/rs_exception.h index e71cad2..fc372fc 100755..100644 --- a/db/repl/rs_exception.h +++ b/db/repl/rs_exception.h @@ -1,15 +1,15 @@ -// @file rs_exception.h
-
-#pragma once
-
-namespace mongo {
-
- class VoteException : public std::exception { +// @file rs_exception.h + +#pragma once + +namespace mongo { + + class VoteException : public std::exception { public: - const char * what() const throw () { return "VoteException"; }
+ const char * what() const throw () { return "VoteException"; } }; - class RetryAfterSleepException : public std::exception { + class RetryAfterSleepException : public std::exception { public: const char * what() const throw () { return "RetryAfterSleepException"; } }; |