exception.h
Go to the documentation of this file.
1 // Copyright [2015] Takashi Ogura<t.ogura@gmail.com>
2 
3 #ifndef CV_CAMERA_EXCEPTION_H
4 #define CV_CAMERA_EXCEPTION_H
5 
6 #include <stdexcept>
7 #include <string>
8 
9 namespace cv_camera
10 {
11 
16 class DeviceError : public std::runtime_error
17 {
18  public:
19  explicit DeviceError(const std::string &cause):
20  std::runtime_error(cause) {}
21 };
22 
23 } // end namespace cv_camera
24 
25 #endif // CV_CAMERA_EXCEPTION_H
ROS cv camera device exception.
Definition: exception.h:16
namespace of this package
Definition: capture.h:20
DeviceError(const std::string &cause)
Definition: exception.h:19


cv_camera
Author(s): Takashi Ogura
autogenerated on Mon Jun 1 2020 03:55:59