00001 00006 /*----------------------------------------------------------------------------*/ 00007 /* C Tool Box: Designed and implemented by: */ 00008 /* Walter F.J. Mueller Gesellschaft fuer Schwerionenforschung (GSI) */ 00009 /* Planckstrasse 1, D-64291 Darmstadt, Germany */ 00010 /* Email: W.F.J.Mueller@gsi.de */ 00011 /* WWW: http://www-kp3.gsi.de/www/kp3/people/mueller.html */ 00012 /*----------------------------------------------------------------------------*/ 00013 00014 #include "CTB.hxx" 00015 #include "CTBexception.hxx" 00016 00022 //------------------------------------------+----------------------------------- 00024 00025 CTBexception::~CTBexception() 00026 {} 00027 00028 //------------------------------------------+----------------------------------- 00030 00031 void CTBexception::ToStream(ostream& os) const 00032 { 00033 os << mc_name; 00034 if (mc_module) os << "- " << mc_message; 00035 if (mc_message) os << " in " << mc_module; 00036 return; 00037 } 00038 00039 #if (defined(CTB__OutLine) || defined(CTBexception__OutLine)) 00040 #define inline 00041 #include "CTBexception.icc" 00042 #undef inline 00043 #endif