0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
mongodb/db/repl/rs_exception.h
2010-06-29 15:52:09 -04:00

18 lines
374 B
C++
Executable File

// @file rs_exception.h
#pragma once
namespace mongo {
class VoteException : public std::exception {
public:
const char * what() const throw () { return "VoteException"; }
};
class RetryAfterSleepException : public std::exception {
public:
const char * what() const throw () { return "RetryAfterSleepException"; }
};
}