00001 #ifndef _CTBexceptionRetcode_HXX 00002 #define _CTBexceptionRetcode_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 #include "CTBretcode.hxx" 00017 #include "CTBexception.hxx" 00018 00019 class CTBexceptionRetcode : public CTBexception { 00020 00021 public: 00022 CTBexceptionRetcode(); 00023 CTBexceptionRetcode(const CTBretcode& rc); 00024 00025 const CTBretcode& Retcode() const; 00026 00027 virtual void ToStream(ostream& os) const; 00028 00029 protected: 00030 00031 CTBretcode m_rc; 00032 }; 00033 00034 #if !(defined(CTB__OutLine) || defined(CTBexceptionRetcode__OutLine)) 00035 #include "CTBexceptionRetcode.icc" 00036 #endif 00037 00038 #endif