Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

CTBexception.hxx

Go to the documentation of this file.
00001 #ifndef _CTBexception_HXX
00002 #define _CTBexception_HXX 1
00003 
00008 /*----------------------------------------------------------------------------*/
00009 /* C Tool Box: Designed and implemented by:                                   */
00010 /*    Walter F.J. Mueller   Gesellschaft fuer Schwerionenforschung (GSI)      */
00011 /*                          Planckstrasse 1, D-64291 Darmstadt, Germany       */
00012 /*                  Email:  W.F.J.Mueller@gsi.de                              */
00013 /*                  WWW:    http://www-kp3.gsi.de/www/kp3/people/mueller.html */
00014 /*------------------------------------------+---------------------------------*/
00015 
00016 class CTBexception {
00017 
00018   public:
00019                     CTBexception();
00020                     CTBexception(const char* c_name, 
00021                                  const char* c_message = 0,
00022                                  const char* c_module = 0);
00023     virtual         ~CTBexception();
00024 
00025     const char*     Name() const;
00026     const char*     Message() const;
00027     const char*     Module() const;
00028 
00029     virtual void    ToStream(ostream& os) const;
00030 
00031   protected:
00032 
00033     const char*     mc_name;                
00034     const char*     mc_message;             
00035     const char*     mc_module;              
00036 };
00037 
00038     ostream&        operator<<(ostream& os, const CTBexception& obj);
00039 
00040 
00041 #if !(defined(CTB__OutLine) || defined(CTBexception__OutLine))
00042 #include "CTBexception.icc"
00043 #endif
00044 
00045 #endif

Generated at Fri Oct 24 18:11:28 2003 for CTBbase by doxygen1.2.9-20010812 written by Dimitri van Heesch, © 1997-2001