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