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