00001 #ifndef SCT_IPCEXCEPTION_H 00002 #define SCT_IPCEXCEPTION_H 00003 00004 #include <ilu/ilu.hh> 00005 #include "IoExceptions.h" 00006 00007 namespace Sct { 00008 00014 class IpcException : public IoException { 00015 public: 00019 IpcException(const ilu_Exception& error, const string& msg, const string& file, int line) throw(); 00020 00025 IpcException(const ilu_Exception& error, Throwable& cause, const string& file, int line) throw(); 00026 00030 IpcException(const ilu_Exception& error, const string& msg, Throwable& cause, const string& file, int line) throw(); 00031 00033 const ilu_Exception& getIluException() const throw(); 00034 virtual shared_ptr<Throwable> clone() const throw(); 00035 virtual string getMessage() const throw(); 00036 00037 protected: 00038 ilu_Exception iluMsg; 00039 IpcException() throw() {} 00040 }; 00041 } 00042 #endif //SCT_IPCEXCEPTION_H