00001 #ifndef SCT_CORBAEXCEPTIONWRAPPER_H 00002 #define SCT_CORBAEXCEPTIONWRAPPER_H 00003 00004 namespace Sct { 00005 class CorbaExceptionWrapper; // fwd dec 00006 }; 00007 00008 #include "Sct/IoExceptions.h" 00009 #include "ipc/core.h" 00010 00011 namespace Sct { 00012 00018 class CorbaExceptionWrapper : public IoException { 00019 public: 00020 static std::string whatDoesThisCORBAExceptionTellUs(const CORBA::Exception &) throw (); 00024 CorbaExceptionWrapper(const CORBA::Exception&, const string& msg, const string& file, int line) throw(); 00025 00026 virtual shared_ptr<Throwable> clone() const throw(); 00027 virtual string getMessage() const throw(); 00028 virtual ~CorbaExceptionWrapper() throw(); 00029 protected: 00030 string m_name; 00031 CorbaExceptionWrapper() throw() {} 00032 }; 00033 } 00034 #endif //SCT_IPCEXCEPTION_H