Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

exception.hpp

00001 /*
00002  * Copyright (c) 2003, Raymond Bosman
00003  * Copyright (c) 2003, Frederik Holljen
00004  * All Rights Reserved.
00005  *
00006  * See COPYING for licensing.
00007  */
00008 
00009 
00010 #ifndef EXCEPTION_HPP
00011 #define EXCEPTION_HPP
00012 
00013 #include <string>
00014 
00016 
00020 class Exception
00021 {
00022 public:
00023     Exception( const std::string &error );
00024     Exception( const char *file, int line, const std::string &error );
00025     virtual ~Exception();
00026 
00028     const std::string &getError() const { return ErrorMsg; }
00029 
00030 private:
00031     std::string ErrorMsg;
00032 };
00033 
00034 
00035 #endif // EXCEPTION_HPP

Generated on Mon Dec 1 14:26:27 2003 for Ck by doxygen 1.3.3