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