Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

error.h

Go to the documentation of this file.
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

Generated at Wed Apr 4 19:54:00 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001