Generic hardware access library
/home/cschwick/hal/generic/include/hal/IllegalOperationException.hh
Go to the documentation of this file.
00001 #ifndef __IllegalOperationException
00002 #define __IllegalOperationException
00003 
00004 #include <string>
00005 
00006 #include "hal/HardwareAccessException.hh"
00007 
00008 namespace HAL {
00009 
00029 class IllegalOperationException : public HardwareAccessException {
00030 public:
00031   IllegalOperationException( const std::string message, 
00032                              const std::string module,
00033                              const int line,
00034                              const std::string function ) :
00035     HardwareAccessException( "IllegalOperationException", 
00036                              message, 
00037                              module,
00038                              line, 
00039                              function ) {};
00040 
00041   IllegalOperationException( const std::string message,
00042                              const std::string module,
00043                              const int line,
00044                              const std::string function,
00045                              xcept::Exception& previous ) :
00046     HardwareAccessException( "IllegalOperationException",
00047                              message, 
00048                              module,
00049                              line, 
00050                              function, 
00051                              previous ) {};
00052 };
00053 
00054 } /* namespace HAL */
00055 
00056 #endif /* __IllegalOperationException */