6 #ifndef UUID_274DA366004E11DCB1DDFE2E56D89593
7 #include <boost/exception/exception.hpp>
9 #ifndef UUID_8D22C4CA9CC811DCAA9133D256D89593
10 #include <boost/exception/info.hpp>
13 #ifndef OPM_VERTEQ_VISIBILITY_INCLUDED
16 #if defined (opmverteq_EXPORTS)
17 # define OPM_VERTEQ_PUBLIC SYMBOL_IS_EXPORTED
19 # define OPM_VERTEQ_PUBLIC SYMBOL_IS_IMPORTED
21 #define OPM_VERTEQ_PRIVATE SYMBOL_IS_LOCALDEF
26 # define _USE_ATTRIBUTES_FOR_SAL 1
48 :
public virtual std::exception
49 ,
public virtual boost::exception {
58 virtual Base& operator () (
69 __attribute__ ((format (printf, 2, 3)))
77 virtual char const* what ()
const throw ();
94 #define OPM_EXC const_cast <Opm::Exc::Base&>(Opm::Exc::Base ()\
95 << ::boost::throw_function (BOOST_CURRENT_FUNCTION)\
96 << ::boost::throw_file (__FILE__)\
97 << ::boost::throw_line (static_cast <int> (__LINE__))\
100 #define OPM_EXC Opm::Exc::Base ()
103 #define OPM_WHAT(ex) Opm::Exc::diag_what (ex)
Definition: opmfwd.hpp:15
#define OPM_VERTEQ_PUBLIC
Definition: exc.hpp:19
std::string OPM_VERTEQ_PUBLIC diag_what(std::exception const &ex)
Retrieve information about the code that failed.