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