DataTransferKit - Multiphysics Solution Transfer Services
2.0
|
Base class for DTK assertions. This structure is heavily based on that in Nemesis developed by Tom Evans. We derive from std::logic_error here as the DBC checks that utilize this class are meant to find errors that can be prevented before runtime. More...
#include <DTK_DBC.hpp>
Inherits logic_error.
Public Member Functions | |
DataTransferKitException (const std::string &msg) | |
Default constructor. More... | |
DataTransferKitException (const std::string &cond, const std::string &file, const int line) | |
DBC constructor. More... | |
virtual | ~DataTransferKitException () throw () |
Destructor. More... | |
Base class for DTK assertions. This structure is heavily based on that in Nemesis developed by Tom Evans. We derive from std::logic_error here as the DBC checks that utilize this class are meant to find errors that can be prevented before runtime.
Definition at line 59 of file DTK_DBC.hpp.
|
inline |
|
inline |
DBC constructor.
cond | A string containing the assertion condition that failed. |
field | A string containing the file name in which the assertion failed. |
line | The line number at which the assertion failed. |
Definition at line 82 of file DTK_DBC.hpp.
|
inlinevirtual |
Destructor.
Definition at line 89 of file DTK_DBC.hpp.