Luanti 5.16.0-dev
Loading...
Searching...
No Matches
BaseException Class Reference

#include <exceptions.h>

Inheritance diagram for BaseException:
Collaboration diagram for BaseException:

Public Member Functions

 BaseException (const std::string &s) noexcept
 ~BaseException () throw () =default
virtual const char * what () const noexcept
BaseExceptionappend (const std::string &what)

Protected Attributes

std::string m_s

Constructor & Destructor Documentation

◆ BaseException()

BaseException::BaseException ( const std::string & s)
inlinenoexcept

Referenced by AlreadyExistsException::AlreadyExistsException(), ClientNotFoundException::ClientNotFoundException(), ClientStateError::ClientStateError(), con::ConnectionBindFailed::ConnectionBindFailed(), con::ConnectionException::ConnectionException(), DatabaseException::DatabaseException(), FileNotGoodException::FileNotGoodException(), con::IncomingDataCorruption::IncomingDataCorruption(), con::InvalidIncomingDataException::InvalidIncomingDataException(), InvalidNoiseParamsException::InvalidNoiseParamsException(), InvalidNoiseParamsException::InvalidNoiseParamsException(), InvalidPositionException::InvalidPositionException(), InvalidPositionException::InvalidPositionException(), ItemNotFoundException::ItemNotFoundException(), MisbehavedSSCSMException::MisbehavedSSCSMException(), ModError::ModError(), con::NotFoundException::NotFoundException(), PacketError::PacketError(), con::PeerNotFoundException::PeerNotFoundException(), PrngException::PrngException(), con::ProcessedQueued::ProcessedQueued(), con::ProcessedSilentlyException::ProcessedSilentlyException(), ResolveError::ResolveError(), SendFailedException::SendFailedException(), SerializationError::SerializationError(), ServerError::ServerError(), SettingNotFoundException::SettingNotFoundException(), ShaderException::ShaderException(), SocketException::SocketException(), VersionMismatchException::VersionMismatchException(), and append().

Here is the caller graph for this function:

◆ ~BaseException()

BaseException::~BaseException ( )
throw ( )
default

Member Function Documentation

◆ append()

BaseException & BaseException::append ( const std::string & what)
inline

References BaseException(), m_s, and what().

Referenced by enrich_exception(), and enrich_exception().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ what()

virtual const char * BaseException::what ( ) const
inlinevirtualnoexcept

References m_s, and what().

Referenced by GUIEngine::GUIEngine(), LuaValueNoiseMap::LuaValueNoiseMap(), ClientEnvironment::addActiveObject(), Server::addShutdownError(), append(), RollbackAction::applyRevert(), Game::connectToServer(), Game::createServer(), deserialization_helper(), MapBlock::deSerialize(), PlayerDatabaseFiles::deSerialize(), Server::init(), EmergeThread::initScripting(), ModApiServer::l_chat_send_all(), ModApiServer::l_chat_send_player(), ModApiMainMenu::l_check_mod_configuration(), ModApiMainMenu::l_create_world(), LuaPseudoRandom::l_next(), ModApiUtil::l_write_json(), ServerMap::loadBlock(), GUIEngine::loadMainMenuScript(), PlayerDatabaseLevelDB::loadPlayer(), ServerEnvironment::migrateAuthDatabase(), Server::migrateModStorageDatabase(), ServerEnvironment::migratePlayersDatabase(), AsyncEngine::prepareEnvironment(), ClientEnvironment::processActiveObjectMessage(), Server::ProcessData(), con::ConnectionSendThread::rawSend(), Server::Receive(), ClientMediaDownloader::remoteHashSetReceived(), ClientLauncher::run(), EmergeThread::run(), ServerThread::run(), SSCSMEnvironment::run(), run_dedicated_server(), TestMoveAction::runTests(), TestSAO::runTests(), TestScriptApi::runTests(), ServerEnvironment::saveLoadedPlayers(), ServerEnvironment::savePlayer(), Server::setAsyncFatalError(), the_game(), and what().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_s

std::string BaseException::m_s
protected

Referenced by append(), and what().


The documentation for this class was generated from the following file: