base_exception.hh

Go to the documentation of this file.
00001 /*
00008  * LEGAL:   COPYRIGHT (C) 2007 JIM E. BROOKS
00009  *          THIS SOURCE CODE IS RELEASED UNDER THE TERMS
00010  *          OF THE GNU GENERAL PUBLIC LICENSE VERSION 2 (GPL 2).
00011  *****************************************************************************/
00012 
00013 #ifndef BASE_EXCEPTION_HH
00014 #define BASE_EXCEPTION_HH 1
00015 
00019 class Exception
00020 {
00021 public:
00022                     Exception( void ) :mText("Exception!") { }
00023                     Exception( string text ) :mText(text) { }
00024     virtual         ~Exception() { }
00025     virtual string  GetText( void ) const { return mText; }
00026 
00027 private:
00028     string  mText;
00029 };
00030 
00031 #endif // BASE_EXCEPTION_HH
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:06 2007