Except.hh
Go to the documentation of this file.
00001 
00004 #ifndef P_EXCEPT_HH
00005 #define P_EXCEPT_HH
00006 
00007 #include <stdexcept>
00008 #include <blort/Recognizer3D/PNamespace.hh>
00009 
00010 #define __HERE__   __FILE__, __FUNCTION__, __LINE__
00011 
00012 namespace P
00013 {
00014 
00025 class Except : public exception
00026 {
00027   string _what;
00028 public:
00029   Except(const char *file, const char *function, int line,
00030          const char *format, ...) throw();
00031   virtual ~Except() throw() {}
00032   virtual const char* what() const throw() {return _what.c_str();}
00033   void Set(const string &s) {_what = s;}
00034 };
00035 
00036 }
00037 
00038 #endif
00039 


blort
Author(s): Thomas Mörwald , Michael Zillich , Andreas Richtsfeld , Johann Prankl , Markus Vincze , Bence Magyar
autogenerated on Wed Aug 26 2015 15:24:12