Cuberite
A lightweight, fast and extensible game server for Minecraft
|
The exception thrown from BlockTypeRegistry::setBlockTypeHint() if the block type has not been registered before. More...
#include <BlockTypeRegistry.h>
Public Member Functions | |
const AString & | blockTypeName () const |
NotRegisteredException (const AString &aBlockTypeName, const AString &aHintKey, const AString &aHintValue) | |
Creates a new instance of the exception that provides info on both the original registration and the newly attempted registration that caused the failure. More... | |
Private Types | |
using | Super = std::runtime_error |
Private Attributes | |
const AString | m_BlockTypeName |
The exception thrown from BlockTypeRegistry::setBlockTypeHint() if the block type has not been registered before.
Definition at line 195 of file BlockTypeRegistry.h.
|
private |
Definition at line 197 of file BlockTypeRegistry.h.
BlockTypeRegistry::NotRegisteredException::NotRegisteredException | ( | const AString & | aBlockTypeName, |
const AString & | aHintKey, | ||
const AString & | aHintValue | ||
) |
Creates a new instance of the exception that provides info on both the original registration and the newly attempted registration that caused the failure.
Definition at line 229 of file BlockTypeRegistry.cpp.
|
inline |
Definition at line 210 of file BlockTypeRegistry.h.
|
private |
Definition at line 215 of file BlockTypeRegistry.h.