xoreos
0.0.5
|
Exception that provides a stack of explanations. More...
#include <error.h>
Public Types | |
typedef std::stack< UString > | Stack |
Public Member Functions | |
StackException () | |
StackException (const char *s,...) GCC_PRINTF(2 | |
StackException (const StackException &e) | |
StackException (const std::exception &e) | |
~StackException () throw () | |
void | add (const char *s,...) GCC_PRINTF(2 |
void void | add (const std::exception &e) |
const char * | what () const throw () |
bool | empty () const |
Stack & | getStack () |
Private Attributes | |
Stack | _stack |
typedef std::stack<UString> Common::StackException::Stack |
Common::StackException::StackException | ( | const char * | s, |
... | |||
) |
Definition at line 37 of file error.cpp.
References _stack, and STRINGBUFLEN.
Common::StackException::StackException | ( | const StackException & | e | ) |
Common::StackException::StackException | ( | const std::exception & | e | ) |
void Common::StackException::add | ( | const char * | s, |
... | |||
) |
Definition at line 58 of file error.cpp.
References _stack, and STRINGBUFLEN.
Referenced by add(), Aurora::GDAFile::add(), Engines::KotOR::SaveLoadMenu::addSavedGameItems(), Engines::DragonAge::Area::Area(), Engines::DragonAge2::Area::Area(), Graphics::CBGT::CBGT(), Graphics::Aurora::Texture::create(), Graphics::Aurora::FontManager::createFont(), Graphics::Aurora::ModelNode_DragonAge::createVertexBuffer(), Common::DateTime::DateTime(), Aurora::Small::decompress(), Engines::NWN2::Module::enter(), Engines::Witcher::Module::enter(), Engines::NWN::Module::enter(), Engines::KotOR::Creature::equipItem(), Common::exceptionDispatcher(), Engines::Jade::Functions::executeScript(), Engines::KotOR::MenuEquipment::fillEquipableItemsList(), Engines::KotOR::ContainerMenu::fillFromInventory(), Engines::indexMandatoryArchive(), Engines::indexMandatoryDirectory(), Engines::indexOptionalArchive(), Engines::indexOptionalDirectory(), Graphics::NCLR::load(), Graphics::NBFS::load(), Graphics::TPC::load(), Graphics::XEOSITEX::load(), Graphics::TXB::load(), Graphics::SBM::load(), Graphics::WinIconImage::load(), Aurora::CDPTH::load(), Sound::XACTWaveBank::load(), Graphics::DDS::load(), Engines::NWN::GUI::load(), Graphics::TGA::load(), Engines::Jade::Placeable::load(), Engines::Jade::Trigger::load(), Aurora::OBBFile::load(), Aurora::TalkTable_GFF::load(), Engines::Jade::Creature::load(), Aurora::HERFFile::load(), Aurora::RIMFile::load(), Aurora::NDSFile::load(), Aurora::KEYFile::load(), Engines::Jade::GUI::load(), Engines::KotOR::GUI::load(), Aurora::BZFFile::load(), Aurora::TalkTable_TLK::load(), Aurora::SSFFile::load(), Aurora::BIFFile::load(), Aurora::NSBTXFile::load(), Aurora::GFF3File::load(), Aurora::GDAFile::load(), Aurora::TwoDAFile::load(), Aurora::GFF4File::load(), Aurora::ERFFile::load(), Aurora::TwoDARegistry::load2DA(), Engines::Witcher::Module::loadAreas(), Engines::NWN2::Module::loadAreas(), Engines::NWN::Module::loadAreas(), Engines::Jade::AreaLayout::loadART(), Engines::NWN2::Campaign::loadCampaign(), Engines::DragonAge::Campaigns::loadCampaign(), Engines::DragonAge2::Campaigns::loadCampaign(), Engines::Witcher::Campaign::loadCampaign(), Engines::Witcher::Campaign::loadCampaignFile(), Engines::NWN2::Campaign::loadCampaignResource(), Aurora::TwoDARegistry::loadGDA(), Engines::Jade::AreaLayout::loadLYT(), Engines::KotOR2::Area::loadLYT(), Engines::KotOR::Area::loadLYT(), Aurora::TwoDARegistry::loadMGDA(), Engines::Sonic::AreaMiniMap::loadMiniMap(), Engines::Jade::Module::loadModule(), Engines::Witcher::Module::loadModule(), Engines::NWN2::Module::loadModule(), Engines::KotOR2::Module::loadModule(), Engines::NWN::Module::loadModule(), Engines::KotOR::Module::loadModule(), Engines::Sonic::AreaBackground::loadTexture(), Engines::NWN::Area::loadTileset(), Engines::Jade::AreaLayout::loadVIS(), Engines::KotOR2::Area::loadVIS(), Engines::KotOR::Area::loadVIS(), Graphics::NCGR::NCGR(), Aurora::NWScript::NCSFile::o_action(), Graphics::Aurora::Model_DragonAge::ParserContext::ParserContext(), Aurora::readCells(), Graphics::CBGT::readCells(), Graphics::Aurora::ModelNode_DragonAge::readMAO(), Graphics::CBGT::readPaletteIndices(), Graphics::CBGT::readPalettes(), Graphics::Aurora::Texture::reload(), Engines::Sonic::Module::run(), StackException(), Engines::NWN2::TRXFile::TRXFile(), Engines::NWN2::Campaign::usePC(), Engines::Witcher::Campaign::usePC(), Engines::NWN::Module::usePC(), and Common::XMLParser::XMLParser().
void Common::StackException::add | ( | const std::exception & | e | ) |
bool Common::StackException::empty | ( | ) | const |
Definition at line 80 of file error.cpp.
References _stack.
Referenced by Events::RequestManager::callInMainThread().
StackException::Stack & Common::StackException::getStack | ( | ) |
Definition at line 84 of file error.cpp.
References _stack.
Referenced by Common::printException(), and Engines::Console::printException().
const char * Common::StackException::what | ( | ) | const | |
throw | ( | |||
) |
Definition at line 73 of file error.cpp.
References _stack.
Referenced by Engines::KotOR::Walkmesh::load(), Video::XboxMediaVideo::load(), Aurora::GFXFile::readInitAction(), Engines::KotOR::DialogGUIBase::startConversation(), Engines::NWN2::Functions::stringToFloat(), Engines::KotOR2::Functions::stringToFloat(), Engines::NWN::Functions::stringToFloat(), Engines::KotOR::Functions::stringToFloat(), Engines::Witcher::Functions::stringToFloat(), Engines::Jade::Functions::stringToFloat(), Engines::DragonAge::Functions::stringToFloat(), Engines::DragonAge2::Functions::stringToFloat(), Engines::NWN2::Functions::stringToInt(), Engines::KotOR2::Functions::stringToInt(), Engines::NWN::Functions::stringToInt(), Engines::Witcher::Functions::stringToInt(), Engines::KotOR::Functions::stringToInt(), Engines::DragonAge::Functions::stringToInt(), Engines::Jade::Functions::stringToInt(), Engines::DragonAge2::Functions::stringToInt(), Engines::DragonAge2::Functions::stringToVector(), Engines::DragonAge::Functions::stringToVector(), and Engines::KotOR::SaveLoadMenu::tryLoadGame().
|
private |
Definition at line 56 of file error.h.
Referenced by add(), empty(), getStack(), StackException(), and what().