owlcpp  v0.3.3~
C++ library for working with OWL ontologies
 All Classes Namespaces Files Functions Macros Pages
exception.hpp
Go to the documentation of this file.
1 
6 #ifndef EXCEPTION_HPP_
7 #define EXCEPTION_HPP_
8 
9 #include <exception>
10 #include "boost/exception/all.hpp"
11 
12 namespace owlcpp{
13 class Node_id;
14 
23 struct base_exception : virtual public std::exception, virtual public boost::exception {
24  typedef boost::error_info<struct errinfo_message_, std::string> msg_t;
25  typedef boost::error_info<struct errinfo_str1_, std::string> str1_t;
26  typedef boost::error_info<struct errinfo_str2_, std::string> str2_t;
27  typedef boost::error_info<struct errinfo_str3_, std::string> str3_t;
28  typedef boost::error_info<struct errinfo_int1_, int> int1_t;
29  typedef boost::error_info<struct errinfo_int2_, int> int2_t;
30  typedef boost::error_info<struct errinfo_node_id_, Node_id> node_id_t;
31  typedef boost::errinfo_nested_exception nested_t;
32 };
33 
34 }//namespace owlcpp
35 
36 #endif /* EXCEPTION_HPP_ */