00001 00003 00004 #ifndef header_error 00005 #define header_error 00006 00007 #include <string> 00008 00009 class CL_Error 00010 //: Exception class in ClanLib. 00011 // If something goes wrong in a clanlib function, it will throw an exception of 00012 // this class. 00013 { 00014 public: 00015 CL_Error(const char *message) { this->message = message; } 00016 CL_Error(const std::string &message) { this->message = message; } 00017 00018 std::string message; 00019 }; 00020 00021 #endif
1.2.6 written by Dimitri van Heesch,
© 1997-2001