projects
/
pierogi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Adding Macros!
[pierogi]
/
pirexception.h
1
#ifndef PIREXCEPTION_H
2
#define PIREXCEPTION_H
3
4
#include <string>
5
6
class PIRException
7
{
8
public:
9
PIRException(
10
std::string s)
11
: errStr(s)
12
{}
13
14
std::string getError();
15
16
void display();
17
18
private:
19
std::string errStr;
20
};
21
22
23
inline std::string PIRException::getError()
24
{
25
return errStr;
26
}
27
28
#endif // PIREXCEPTION_H