00001 #ifndef _PMDCAMERA_EXCEPTIONS 00002 #define _PMDCAMERA_EXCEPTIONS 00003 00004 #include "exceptions.h" 00005 00010 class CPmdCameraInternalException : public CException 00011 { 00012 public: 00031 CPmdCameraInternalException(const std::string& where,int error_code); 00032 }; 00033 00048 class CPmdCameraException : public CException 00049 { 00050 public: 00067 CPmdCameraException(const std::string& where,const std::string& error_msg); 00068 }; 00069 00070 class CPmdCameraFeatureException : public CException 00071 { 00072 public: 00073 CPmdCameraFeatureException(const std::string& where,const std::string& error_msg,const std::string& feature); 00074 }; 00075 00076 #endif