Opm::Exc::Base Struct Reference
Inheritance diagram for Opm::Exc::Base:
Detailed DescriptionBase class for exceptions thrown from the OPM framework. Throw exceptions like this: throw OPM_EXC ("Magic value = %d", 42); Catch exceptions like this: catch (std::exception& ex) { std::cerr << OPM_WHAT (ex) << std::endl; exit (-1); } Member Function Documentation◆ operator()()
Add a message to the string.
◆ what()
Message created at the throw-site about the error.
The documentation for this struct was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||