Files
mongo/db/repl/rs_exception.h
2011-01-04 00:40:41 -05:00

18 lines
364 B
C++

// @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"; }
};
}