general exception of the basic_json class More...
#include "json.h"
Inheritance diagram for detail::exception:
Collaboration diagram for detail::exception:Public Member Functions | |
| const char * | what () const noexcept override |
| returns the explanatory string | |
Public Attributes | |
| const int | id |
| the id of the exception | |
Protected Member Functions | |
| exception (int id_, const char *what_arg) | |
Static Protected Member Functions | |
| template<typename BasicJsonType > | |
| static std::string | diagnostics (const BasicJsonType *leaf_element) |
| static std::string | diagnostics (std::nullptr_t) |
| static std::string | name (const std::string &ename, int id_) |
Static Private Member Functions | |
| template<typename BasicJsonType > | |
| static std::string | get_byte_positions (const BasicJsonType *leaf_element) |
Private Attributes | |
| std::runtime_error | m |
| an exception object as storage for error messages | |
general exception of the basic_json class
|
inlineprotected |
|
inlinestaticprotected |
Definition at line 4568 of file json.h.
References detail::array, detail::binary, detail::boolean, detail::concat(), detail::discarded, get_byte_positions(), detail::null, detail::number_float, detail::number_integer, detail::number_unsigned, detail::object, and detail::string.
Here is the call graph for this function:
|
inlinestaticprotected |
Definition at line 4562 of file json.h.
Referenced by detail::parse_error::create(), detail::invalid_iterator::create(), detail::type_error::create(), detail::out_of_range::create(), detail::other_error::create(), and detail::parse_error::create().
Here is the caller graph for this function:
|
inlinestaticprivate |
Definition at line 4647 of file json.h.
Referenced by diagnostics().
Here is the caller graph for this function:
|
inlinestaticprotected |
Definition at line 4557 of file json.h.
References detail::concat().
Referenced by detail::parse_error::create(), detail::invalid_iterator::create(), detail::type_error::create(), detail::out_of_range::create(), detail::other_error::create(), and detail::parse_error::create().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineoverridenoexcept |
|
private |
an exception object as storage for error messages
Definition at line 4634 of file json.h.
Referenced by two-ray-to-three-gpp-ch-calibration.FtrParams::__init__(), and what().