00001 #ifndef SCT_IPCOBJECTEXCEPTION_H
00002 #define SCT_IPCOBJECTEXCEPTION_H
00003 #include "Exception.h"
00004
00005 namespace Sct {
00006
00012 class IpcObjectException : public Exception {
00013 public:
00017 IpcObjectException(const string& msg, const string& file, int line) throw() {
00018 initialize("IPCOBJECT_ERROR", "Sct::IpcObjectException", msg, 0, file, line);
00019 }
00020
00025 IpcObjectException(Throwable& cause, const string& file, int line) throw() {
00026 initialize("IPCOBJECT_ERROR", "Sct::IpcObjectException", "", &cause, file, line);
00027 }
00028
00032 IpcObjectException(const string& msg, Throwable& cause, const string& file, int line) throw() {
00033 initialize("IPCOBJECT_ERROR", "Sct::IpcObjectException", msg, &cause, file, line);
00034 }
00035
00036 protected:
00037 IpcObjectException() throw() {}
00038 };
00039
00040 }
00041
00042 #endif //SCT_IPCOBJECTEXCEPTION_H