00001 #ifndef SCTCALIBRATIONCONTROLLER_REQUESTEXCEPTION_H
00002 #define SCTCALIBRATIONCONTROLLER_REQUESTEXCEPTION_H
00003
00004 #include "Sct/IpcException.h"
00005
00006 namespace SctCalibrationController {
00007 namespace Ipc {
00008
00014 class RequestException : public Sct::IpcException {
00015 public:
00019 RequestException(const ilu_Exception& error, const string& msg, const string& file, int line) throw()
00020 : Sct::IpcException(error, msg, file, line) {
00021 initialize("REQUEST_EXCEPTION", "CalibrationController::RequestException", msg, 0, file, line);
00022 }
00023
00028 RequestException(const ilu_Exception& error, Throwable& cause, const string& file, int line) throw()
00029 : Sct::IpcException(error, msg, file, line) {
00030 initialize("REQUEST_EXCEPTION", "CalibrationController::RequestException", "", &cause, file, line);
00031 }
00032
00036 RequestException(const ilu_Exception& error, const string& msg, Throwable& cause, const string& file, int line) throw()
00037 : Sct::IpcException(error, msg, file, line) {
00038 initialize("REQUEST_EXCEPTION", "CalibrationController::RequestException", msg, &cause, file, line);
00039 }
00040
00041 protected:
00042 RequestException() throw() {}
00043 };
00044 }
00045 }
00046 #endif //SCTCALIBRATIONCONTROLLER_REQUESTEXCEPTION_H