parsererror.h

Go to the documentation of this file.
00001 #ifndef PARSERERROR_H
00002 #define PARSERERROR_H
00003 
00004 #include <string>
00005 using namespace std;
00006 
00007 class parsererror {
00008         public:
00009                 parsererror(const string &s) { err = s; }
00010                 const char* what() const { return err.c_str(); }
00011                 const string& show() const { return err; }
00012 
00013         private:
00014                 string err;  // the error message
00015 };
00016 
00017 #endif

Generated on Wed Aug 10 11:56:58 2011 for Softwares from Orpara by  doxygen 1.5.6