Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Exception thrown when the input cannot be serialized. More...
Public Member Functions | |
CannotSerializeException (const AString &a_ValueName, const char *a_ErrorMsg) | |
Constructs a new instance of the exception based on the provided values directly. More... | |
CannotSerializeException (const CannotSerializeException &a_Parent, const AString &a_ValueNamePrefix) | |
Constructs a new instance of the exception that takes the error message and value name from the parent, and prefix the value name with the specified prefix. More... | |
CannotSerializeException (const CannotSerializeException &a_Parent, int a_ValueNamePrefixIndex) | |
Constructs a new instance of the exception that takes the error message and value name from the parent, and prefix the value name with the specified prefix. More... | |
CannotSerializeException (int a_ValueIndex, const char *a_ErrorMsg) | |
Constructs a new instance of the exception based on the provided values directly. More... | |
const AString & | GetValueName () const |
Protected Attributes | |
AString | m_ValueName |
Private Types | |
using | Super = std::runtime_error |
Exception thrown when the input cannot be serialized.
Keeps track of the error message and the problematic value's path in the table.
Definition at line 29 of file LuaJson.cpp.
|
private |
Definition at line 32 of file LuaJson.cpp.
|
inlineexplicit |
Constructs a new instance of the exception based on the provided values directly.
Definition at line 36 of file LuaJson.cpp.
|
inlineexplicit |
Constructs a new instance of the exception based on the provided values directly.
Definition at line 43 of file LuaJson.cpp.
|
inlineexplicit |
Constructs a new instance of the exception that takes the error message and value name from the parent, and prefix the value name with the specified prefix.
Used for prefixing the value name's path along the call stack that lead to the main exception.
Definition at line 51 of file LuaJson.cpp.
|
inlineexplicit |
Constructs a new instance of the exception that takes the error message and value name from the parent, and prefix the value name with the specified prefix.
Used for prefixing the value name's path along the call stack that lead to the main exception.
Definition at line 59 of file LuaJson.cpp.
|
inline |
Definition at line 65 of file LuaJson.cpp.
|
protected |
Definition at line 68 of file LuaJson.cpp.