Main Page   Modules   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Globals   Related Pages  

UnsupportedOperationError.h

Go to the documentation of this file.
00001 #ifndef SCT_UNSUPPORTEDOPERATIONERROR_H
00002 #define SCT_UNSUPPORTEDOPERATIONERROR_H
00003 
00004 #include "LogicErrors.h"
00005 
00006 namespace Sct {
00007 
00013 class UnsupportedOperationError : public LogicError {
00014 public:
00018     UnsupportedOperationError(const string& msg, const string& file, int line) throw() {
00019     initialize("NOT_SUPPORTED", "Sct::UnsupportedOperationError", msg, 0, file, line);
00020     }
00021     
00026     UnsupportedOperationError(Throwable& cause, const string& file, int line) throw() {
00027     initialize("NOT_SUPPORTED", "Sct::UnsupportedOperationError", "", &cause, file, line);
00028     }
00029     
00033     UnsupportedOperationError(const string& msg, Throwable& cause, const string& file, int line) throw() {
00034     initialize("NOT_SUPPORTED", "Sct::UnsupportedOperationError", msg, &cause, file, line);
00035     }
00036     
00037 protected:
00038     UnsupportedOperationError() throw() {}        
00039     
00040 };    
00041 }
00042 
00043 #endif //SCT_UNSUPPORTEDOPERATIONERROR_H

Generated on Mon Dec 15 19:36:23 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3