#include <json_exception.hpp>
|
| JsonException (const char *class_name, std::string &&message) noexcept |
|
Generic exception to be raised if an error was encountered creating, accessing, or modifying a Json instance.
- Author
- Timothy Flynn (trfly.nosp@m.nn89.nosp@m.@pm.m.nosp@m.e)
- Version
- September 24, 2017
◆ JsonException() [1/3]
fly::JsonException::JsonException |
( |
std::string && |
message | ) |
|
|
explicitnoexcept |
Constructor.
- Parameters
-
message | Message indicating what error was encountered. |
◆ JsonException() [2/3]
fly::JsonException::JsonException |
( |
const Json & |
json, |
|
|
std::string && |
message |
|
) |
| |
|
noexcept |
Constructor.
- Parameters
-
json | The Json instance for which the error was encountered. |
message | Message indicating what error was encountered. |
◆ JsonException() [3/3]
fly::JsonException::JsonException |
( |
const char * |
class_name, |
|
|
std::string && |
message |
|
) |
| |
|
protectednoexcept |
Constructor for subclasses.
- Parameters
-
class_name | Name of the subclass. |
message | Message indicating what error was encountered. |
◆ what()
const char * fly::JsonException::what |
( |
| ) |
const |
|
overridevirtualnoexcept |
- Returns
- C-string representing this exception.
The documentation for this class was generated from the following files: