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