exception_ptr get_static_exception_object() { Exception ba; exception_detail::clone_impl<Exception> c(ba); c << throw_function(BOOST_CURRENT_FUNCTION) << throw_file(__FILE__) << throw_line(__LINE__); static exception_ptr ep(shared_ptr<exception_detail::clone_base const>(new exception_detail::clone_impl<Exception>(c))); return ep; }
void throw_exception_( E const & x, char const * current_function, char const * file, int line ) { throw_exception( set_info( set_info( set_info( enable_error_info(x), throw_function(current_function)), throw_file(file)), throw_line(line))); }
BOOST_ATTRIBUTE_NORETURN void throw_exception_( E const & x, char const * current_function, char const * file, int line ) { boost::throw_exception( set_info( set_info( set_info( boost::enable_error_info(x), throw_function(current_function)), throw_file(file)), throw_line(line))); }
BOOST_NORETURN void throw_exception_( E const & x, char const * current_function, char const * file, int line ) { geofeatures_boost::throw_exception( set_info( set_info( set_info( enable_error_info(x), throw_function(current_function)), throw_file(file)), throw_line(line))); }
BOOST_NOINLINE BOOST_ATTRIBUTE_NORETURN void throw_exception(const char* func, const char* file, int line, T0 const& arg0) { #if !defined(BOOST_EXCEPTION_DISABLE) boost::throw_exception ( set_info ( set_info ( set_info ( enable_error_info(Exception(arg0)), throw_function(func) ), throw_file(file) ), throw_line(line) ) ); #else boost::throw_exception(Exception(arg0)); #endif }