Eclipse SUMO - Simulation of Urban MObility
|
exception indicating access out of the defined range More...
#include <json.hpp>
Public Member Functions | |
const char * | what () const noexcept override |
returns the explanatory string | |
Static Public Member Functions | |
template<typename BasicJsonType > | |
static out_of_range | create (int id_, const std::string &what_arg, const BasicJsonType &context) |
Data Fields | |
const int | id |
the id of the exception | |
Static Protected Member Functions | |
template<typename BasicJsonType > | |
static std::string | diagnostics (const BasicJsonType &leaf_element) |
static std::string | name (const std::string &ename, int id_) |
Private Member Functions | |
out_of_range (int id_, const char *what_arg) | |
Private Attributes | |
std::runtime_error | m |
an exception object as storage for error messages | |
exception indicating access out of the defined range
|
inlineprivate |
|
inlinestatic |
Definition at line 2992 of file json.hpp.
References nlohmann::detail::exception::diagnostics(), and nlohmann::detail::exception::name().
Referenced by nlohmann::json_pointer< BasicJsonType >::array_index(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::at(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::at(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::at(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::at(), nlohmann::json_pointer< BasicJsonType >::back(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::erase(), nlohmann::json_pointer< BasicJsonType >::get_checked(), nlohmann::json_pointer< BasicJsonType >::get_checked(), nlohmann::json_pointer< BasicJsonType >::get_unchecked(), nlohmann::json_pointer< BasicJsonType >::get_unchecked(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::patch(), nlohmann::json_pointer< BasicJsonType >::pop_back(), and nlohmann::detail::parser< BasicJsonType, InputAdapterType >::sax_parse_internal().
|
inlinestaticprotectedinherited |
Definition at line 2830 of file json.hpp.
References nlohmann::detail::array, nlohmann::detail::binary, nlohmann::detail::boolean, nlohmann::detail::discarded, nlohmann::detail::null, nlohmann::detail::number_float, nlohmann::detail::number_integer, nlohmann::detail::number_unsigned, nlohmann::detail::object, and nlohmann::detail::string.
Referenced by nlohmann::detail::parse_error::create(), nlohmann::detail::invalid_iterator::create(), nlohmann::detail::type_error::create(), create(), nlohmann::detail::other_error::create(), and nlohmann::detail::parse_error::create().
|
inlinestaticprotectedinherited |
Definition at line 2824 of file json.hpp.
Referenced by nlohmann::detail::parse_error::create(), nlohmann::detail::invalid_iterator::create(), nlohmann::detail::type_error::create(), create(), nlohmann::detail::other_error::create(), and nlohmann::detail::parse_error::create().
|
inlineoverridenoexceptinherited |
returns the explanatory string
Definition at line 2812 of file json.hpp.
References nlohmann::detail::exception::m.
|
inherited |
|
privateinherited |
an exception object as storage for error messages
Definition at line 2895 of file json.hpp.
Referenced by nlohmann::detail::exception::what().