Go to the documentation of this file.
20#ifndef OPM_RESERVOIR_COUPLING_ERROR_MACROS_HPP
21#define OPM_RESERVOIR_COUPLING_ERROR_MACROS_HPP
23#include <opm/common/ErrorMacros.hpp>
25#define RCOUP_LOG_THROW(Exception, message) \
27 if (this->logger().haveDeferredLogger()) { \
28 OPM_DEFLOG_THROW(Exception, message, this->logger().deferredLogger()); \
31 OPM_THROW(Exception, message); \
|