Choreonoid  1.5
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 #endif
29 
boost::error_info< struct tag_error_info_message, std::string > error_info_message
Definition: Exception.h:15
Definition: Exception.h:23
Defines the minimum processing for performing pasing file for STL.
Definition: AbstractSceneLoader.h:9
Definition: Exception.h:13
boost::error_info< struct tag_error_info_key, std::string > error_info_key
Definition: Exception.h:19
Definition: Exception.h:25
Definition: Exception.h:21
Definition: Exception.h:17