Base class for all exceptions we throw. More...
#include <json/value.h>
Inherits std::exception.
Inherited by Json::LogicError, and Json::RuntimeError.
Public Member Functions | |
| Exception (String msg) | |
| ~Exception () noexcept override | |
| char const * | what () const noexcept override |
Protected Attributes | |
| String | msg_ |
Base class for all exceptions we throw.
We use nothing but these internally. Of course, STL can throw others.
| Json::Exception::Exception | ( | String | msg | ) |
Definition at line 209 of file json_value.cpp.
References msg_.
Referenced by Json::LogicError::LogicError(), Json::RuntimeError::RuntimeError(), and what().
|
overridedefaultnoexcept |
References what().
|
overridenoexcept |
Definition at line 211 of file json_value.cpp.
References Exception(), msg_, and what().
Referenced by what(), and ~Exception().
|
protected |
Definition at line 88 of file value.h.
Referenced by Exception(), and what().
1.15.0