Choreonoid  1.8
Exception.h
Go to the documentation of this file.
1 
5 #ifndef CNOID_UTIL_EXCEPTION_H
6 #define CNOID_UTIL_EXCEPTION_H
7 
8 #include <boost/exception/all.hpp>
9 #include <exception>
10 
11 namespace cnoid {
12 
13 struct exception_base : virtual std::exception, virtual boost::exception { };
14 
15 typedef boost::error_info<struct tag_error_info_message, std::string> error_info_message;
16 
18 
19 typedef boost::error_info<struct tag_error_info_key, std::string> error_info_key;
20 
21 struct type_mismatch_error : virtual exception_base { };
22 
23 struct file_read_error : virtual exception_base { };
24 
25 struct empty_data_error : virtual exception_base { };
26 
27 }
28 
29 #endif
30 
cnoid::error_info_message
boost::error_info< struct tag_error_info_message, std::string > error_info_message
Definition: Exception.h:15
cnoid::nonexistent_key_error
Definition: Exception.h:17
cnoid::exception_base
Definition: Exception.h:13
cnoid::file_read_error
Definition: Exception.h:23
cnoid::type_mismatch_error
Definition: Exception.h:21
cnoid::error_info_key
boost::error_info< struct tag_error_info_key, std::string > error_info_key
Definition: Exception.h:19
cnoid
Definition: AbstractSceneLoader.h:11
cnoid::empty_data_error
Definition: Exception.h:25