![]() |
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 (int a_ValueIndex, 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... | |
const AString & | GetValueName () const |
Protected Attributes | |
AString | m_ValueName |
Private Types | |
typedef std::runtime_error | Super |
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 28 of file LuaJson.cpp.
|
private |
Definition at line 31 of file LuaJson.cpp.
|
inlineexplicit |
Constructs a new instance of the exception based on the provided values directly.
Definition at line 34 of file LuaJson.cpp.
|
inlineexplicit |
Constructs a new instance of the exception based on the provided values directly.
Definition at line 41 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 49 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 57 of file LuaJson.cpp.
|
inline |
Definition at line 63 of file LuaJson.cpp.
|
protected |
Definition at line 66 of file LuaJson.cpp.