Generic hardware access library
/home/cschwick/hal/generic/include/hal/UnsupportedException.hh
Go to the documentation of this file.
00001 #ifndef __UnsupportedException
00002 #define __UnsupportedException
00003 
00004 #include <string>
00005 #include "hal/HardwareAccessException.hh"
00006 
00007 namespace HAL {
00008 
00033 class UnsupportedException : public HardwareAccessException {
00034 public:
00035   UnsupportedException( const std::string message, 
00036                         const std::string module,
00037                         const int line,
00038                         const std::string function ) :
00039     HardwareAccessException( "UnsupportedException", 
00040                              message, 
00041                              module,
00042                              line, 
00043                              function ) {};
00044 
00045   UnsupportedException( const std::string message,
00046                         const std::string module,
00047                         const int line,
00048                         const std::string function,
00049                              xcept::Exception& previous ) :
00050     HardwareAccessException( "UnsupportedException",
00051                              message, 
00052                              module,
00053                              line, 
00054                              function, 
00055                              previous ) {};
00056 };
00057 
00058 } /* namespace HAL */
00059 
00060 #endif /* __UnsupportedException */