SctApiAccessException.h

00001 #ifndef SCTCALIBRATIONCONTROLLER_SCTAPIACCESSEXCEPTION_H
00002 #define SCTCALIBRATIONCONTROLLER_SCTAPIACCESSEXCEPTION_H
00003 
00004 #include "Sct/CorbaExceptionWrapper.h"
00005 
00006 namespace SctCalibrationController {
00007 
00013 class SctApiAccessException : public Sct::CorbaExceptionWrapper {
00014 public:
00018     SctApiAccessException(const CORBA::Exception& error, const string& msg, const string& file, int line) throw()
00019     : Sct::CorbaExceptionWrapper(error, msg, file, line) {
00020     initialize("SCTAPI_EXCEPTION", "CalibrationController::SctApiAccessException", msg, 0, file, line);
00021     }
00022     
00027     SctApiAccessException(const CORBA::Exception& error, Throwable& cause, const string& file, int line) throw()
00028     : Sct::CorbaExceptionWrapper(error, msg, file, line) {
00029     initialize("SCTAPI_EXCEPTION", "CalibrationController::SctApiAccessException", "", &cause, file, line);
00030     }
00031     
00035     SctApiAccessException(const CORBA::Exception& error, const string& msg, Throwable& cause, const string& file, int line) throw()
00036     : Sct::CorbaExceptionWrapper(error, msg, file, line) {
00037     initialize("SCTAPI_EXCEPTION", "CalibrationController::SctApiAccessException", msg, &cause, file, line);
00038     }
00039         
00040 protected:
00041     SctApiAccessException() throw() {}   
00042 };
00043 }
00044 #endif //SCTCALIBRATIONCONTROLLER_SCTAPIACCESSEXCEPTION_H

Generated on Mon Feb 6 14:01:28 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6