exc.hpp File Reference
#include <exception>
#include <boost/exception/exception.hpp>
#include <boost/exception/info.hpp>
#include <opm/verteq/utility/visibility.h>
Include dependency graph for exc.hpp:

Go to the source code of this file.

Classes

struct  Opm::Exc::Base
 

Namespaces

 Opm
 
 Opm::Exc
 

Macros

#define OPM_VERTEQ_PUBLIC   SYMBOL_IS_IMPORTED
 
#define OPM_VERTEQ_PRIVATE   SYMBOL_IS_LOCALDEF
 
#define OPM_EXC   Opm::Exc::Base ()
 
#define OPM_WHAT(ex)   Opm::Exc::diag_what (ex)
 

Functions

std::string OPM_VERTEQ_PUBLIC Opm::Exc::diag_what (std::exception const &ex)
 Retrieve information about the code that failed. More...
 

Macro Definition Documentation

#define OPM_EXC   Opm::Exc::Base ()

Create a new exception object, possibly filled with location information if a debug build was done.

#define OPM_VERTEQ_PRIVATE   SYMBOL_IS_LOCALDEF
#define OPM_VERTEQ_PUBLIC   SYMBOL_IS_IMPORTED

Copyright (C) 2013 Uni Research AS. This code is licensed under The GNU General Public License v3.0 or later.

#define OPM_WHAT (   ex)    Opm::Exc::diag_what (ex)