Base class for all the errors encountered by the engine. More...
#include <exceptions.hpp>


Public Member Functions | |
| error () | |
| error (const std::string &msg) | |
| ~error () throw () | |
| const char * | what () const throw () |
Public Attributes | |
| std::string | message |
Base class for all the errors encountered by the engine.
It provides a field for storing custom messages related to the actual error.
Definition at line 28 of file exceptions.hpp.
| game::error::error | ( | ) | [inline] |
Reimplemented in font::manager::error, CVideo::error, and gui::button::error.
Definition at line 32 of file exceptions.hpp.
| game::error::error | ( | const std::string & | msg | ) | [inline] |
Reimplemented in config::error, preproc_config::error, abstract_validator::error, wesnothd::banned::error, user_handler::error, and t_translation::error.
Definition at line 33 of file exceptions.hpp.
| game::error::~error | ( | ) | throw () [inline] |
Definition at line 34 of file exceptions.hpp.
| const char* game::error::what | ( | ) | const throw () [inline] |
Definition at line 36 of file exceptions.hpp.
References message.
Referenced by editor::context_manager::apply_mask_dialog(), editor::context_manager::create_mask_to_dialog(), savegame::save_index_class::data(), savegame::savegame::finish_save_game(), editor::context_manager::generate_map_dialog(), gzip_codec(), editor::context_manager::load_map(), main(), editor::editor_controller::main_loop(), savegame::savegame::open_save_game(), editor::map_context::save(), events::menu_handler::save_map(), editor::context_manager::write_map(), and savegame::save_index_class::write_save_index().

| std::string game::error::message |
Definition at line 30 of file exceptions.hpp.
Referenced by default_map_generator::create_scenario(), ai::stage_unit_formulas::do_play_stage(), enter_lobby_mode(), game_logic::attack_candidate_action::evaluate(), exception_translator_config(), exception_translator_game(), exception_translator_network(), game_logic::base_candidate_action::execute_formula(), editor::editor_map::from_string(), game_info::game_info(), help::generate_contents(), default_map_generator::generate_map(), gui2::tminimap::get_image(), vconfig::get_parsed_config(), mp::create::hide_children(), persist_file_context::load(), cutter::load_config(), game_controller::load_game(), game_controller::load_game_cfg(), main(), gui2::tlobby_main::network_handler(), play_game(), game_controller::play_multiplayer(), play_replay(), mp::create::process_event(), lobby_info::process_gamelist_diff(), server::process_login(), mp::ui::process_network_data(), mp::ui::process_network_error(), mp::connect::process_network_error(), server::process_nickserv(), gamemap::read(), game_config::config_cache::read_cache(), server::read_config(), server::run(), persist_file_context::save_context(), savegame::savegame::save_game(), wesnothd::game::save_replay(), wesnothd::game::send_history(), mp::gamebrowser::set_game_items(), help::help_text_area::set_items(), type_error::type_error(), what(), and WML_HANDLER_FUNCTION().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:19:45 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |