|
DataTransferKit - Multiphysics Solution Transfer Services
2.0
|
Assertions and Design-by-Contract for error handling. More...
#include <stdexcept>#include <string>#include "DataTransferKitUtils_config.hpp"Go to the source code of this file.
Classes | |
| class | DataTransferKit::DataTransferKitException |
| 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... | |
Namespaces | |
| DataTransferKit | |
| DTK_BasicEntitySet.cpp. | |
Functions | |
| void | DataTransferKit::throwDataTransferKitException (const std::string &cond, const std::string &file, const int line) |
| Throw a DataTransferKit::DataTransferKitException. More... | |
| void | DataTransferKit::errorCodeFailure (const std::string &cond, const std::string &file, const int line, const int error_code) |
| Throw a DataTransferKit::DataTransferKitException when an error code fails. More... | |
Assertions and Design-by-Contract for error handling.
Definition in file DTK_DBC.hpp.
1.8.11