xsens_imu
xsens_exception.h
Go to the documentation of this file.
1 #ifndef XSENS_EXCEPTION_H
2 #define XSENS_EXCEPTION_H
3 
4 #include <exception>
5 #include <string>
6 
7 namespace xsens {
8 
9 class Exception : public std::exception
10 {
11 public:
12  Exception();
13  explicit Exception(const std::string &what);
14  Exception(const Exception &ex);
15 
16  virtual ~Exception() throw();
17 
18  virtual const char *what() const throw();
19 
20 private:
21  std::string m_what;
22 };
23 
24 } // namespace xsens
25 
26 #endif // XSENS_EXCEPTION_H
Exception()
Definition: xsens_exception.cpp:5
Definition: xsens_exception.h:9
virtual ~Exception()
Definition: xsens_exception.cpp:24
virtual const char * what() const
Definition: xsens_exception.cpp:28