|
DryChem 1.0.0
A generic, compile-time C++ toolbox with no dependencies for the modern computational chemistry project.
|
#include <fatalException.hpp>
Public Member Functions | |
| FatalException (const ErrorMessage &error_) | |
| void | handleErrorWithMessage () const |
| Delegate our exception handling to the error handling classes. | |
Private Member Functions | |
| const char * | what () const noexcept override |
Private Attributes | |
| ErrorMessage | error {} |
Our main exception class deriving from std::exception. This class formats the supplied error message and provides methods for handling the fatal errors it represents.
what() a private member function so users are forced to handle the exception
|
inlineexplicit |
References error.
Referenced by CppUtils::Files::FileNotFound::FileNotFound(), and CppUtils::Math::InputSizeMismatch::InputSizeMismatch().
|
inlineoverrideprivatenoexcept |
References error.
|
inline |
References error, and CppUtils::Errors::printFatalErrorMessage.
Referenced by GTEST_TEST().
|
private |
Referenced by FatalException(), handleErrorWithMessage(), and what().