exception.h
Go to the documentation of this file.
00001 // Copyright [2015] Takashi Ogura<t.ogura@gmail.com>
00002 
00003 #ifndef CV_CAMERA_EXCEPTION_H
00004 #define CV_CAMERA_EXCEPTION_H
00005 
00006 #include <stdexcept>
00007 #include <string>
00008 
00009 namespace cv_camera
00010 {
00011 
00016 class DeviceError : public std::runtime_error
00017 {
00018  public:
00019   explicit DeviceError(const std::string &cause):
00020       std::runtime_error(cause) {}
00021 };
00022 
00023 }  // end namespace cv_camera
00024 
00025 #endif  // CV_CAMERA_EXCEPTION_H


cv_camera
Author(s): Takashi Ogura
autogenerated on Thu May 9 2019 02:53:02