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