Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Examples

LCDException.h

00001 #ifndef _LCD_EXCEPTION_H_
00002 #define _LCD_EXCEPTION_H_
00003 
00004 #include "LCDConstants.h"
00005 #include <exception>
00006 #include <string>
00007 
00013 class LCDException
00014 {
00015  private:
00016   std::string _desc;
00017 
00018  public:
00019 
00020   LCDException(std::string desc)
00021   {
00022     _desc = desc;
00023   }
00024 
00025   ~LCDException()
00026   {
00027   }
00028 
00035   std::string what()
00036   {
00037     return std::string("LCD Error : ") + _desc;
00038   }
00039 };
00040 
00041 #endif

Generated on Wed Aug 4 19:39:09 2004 for LCDApi by doxygen 1.3.6