Log In
New Account
  
Home My Page Project Cloud Code Snippets Project Openings Pierogi
Summary Forums Tracker Lists Tasks Docs News SCM Files
1 #ifndef PIREXCEPTION_H
2 #define PIREXCEPTION_H
4 #include <string>
6 class PIRException
7 {
8 public:
9   PIRException(
10     std::string s)
11   : errStr(s)
12   {}
14   std::string getError();
16   void display();
18 private:
19   std::string errStr;
20 };
23 inline std::string PIRException::getError()
24 {
25   return errStr;
26 }
28 #endif // PIREXCEPTION_H

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment