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