00001
00002
00003 #pragma once
00004
00005 namespace mongo {
00006
00007 class VoteException : public std::exception {
00008 public:
00009 const char * what() const throw () { return "VoteException"; }
00010 };
00011
00012 class RetryAfterSleepException : public std::exception {
00013 public:
00014 const char * what() const throw () { return "RetryAfterSleepException"; }
00015 };
00016
00017 }