mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
18 lines
374 B
C++
Executable File
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"; }
|
|
};
|
|
|
|
}
|