00001 #ifndef _XVEXCEPTION_H_ 00002 #define _XVEXCEPTION_H_ 00003 00004 #include <exception> 00005 00006 class XVException : exception{ 00007 00008 protected: 00009 00010 char * error; 00011 00012 public: 00013 00014 XVException(){ error = ""; } 00015 XVException(char * err){ error = err; } 00016 00017 const char * what() const { return error ; } 00018 }; 00019 00020 #endif