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