libnavajo
web server for static and dynamic pages developement in C++
Exception.h
1 // This file is distributed under GPLv3 licence
2 // Author: Gorelov Grigory (gorelov@grigory.info)
3 //
4 // Contacts and other info are on the WEB page: grigory.info/MPFDParser
5 
6 
7 #ifndef _EXCEPTION_H
8 #define _EXCEPTION_H
9 
10 #include <string>
11 #include <iostream>
12 #include <errno.h>
13 
14 
15 namespace MPFD {
16 
17  class Exception {
18  public:
19  Exception(std::string error);
20  Exception(const Exception& orig);
21  virtual ~Exception();
22 
23  std::string GetError();
24 
25  private:
26  std::string Error;
27 
28  };
29 }
30 
31 #endif /* _EXCEPTION_H */
32 
Definition: Exception.h:15
Definition: Exception.h:17