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 27 of file exceptions.hpp.
|
inline |
Definition at line 31 of file exceptions.hpp.
|
inline |
Definition at line 32 of file exceptions.hpp.
|
inline |
Definition at line 33 of file exceptions.hpp.
|
inline |
Definition at line 35 of file exceptions.hpp.
Referenced by ad_hoc_addon_fetch_session(), editor::context_manager::apply_mask_dialog(), preferences::base_manager::base_manager(), lua_map_generator::create_map(), editor::context_manager::create_mask_to_dialog(), lua_map_generator::create_scenario(), savegame::save_index_class::data(), decode(), encode(), gui2::tlua_interpreter::lua_model::execute(), savegame::savegame::finish_save_game(), editor::context_manager::generate_map_dialog(), ng::create_engine::init_generated_level_data(), editor::context_manager::load_map(), gui2::load_settings(), main(), editor::editor_controller::main_loop(), savegame::savegame::open_save_game(), game_launcher::play_render_image_mode(), actions::undo_list::read(), schema_validation::schema_validator::read_config_file(), lua_kernel_base::run(), campaignd::server::run(), events::menu_handler::save_map(), editor::map_context::save_map(), editor::map_context::save_scenario(), editor::start(), lua_map_generator::user_config(), editor::context_manager::write_map(), savegame::save_index_class::write_save_index(), and editor::context_manager::write_scenario().
std::string game::error::message |
Definition at line 29 of file exceptions.hpp.
Referenced by ad_hoc_addon_fetch_session(), wesnothd::async_send_doc(), wesnothd::ban_manager::ban(), default_map_generator::create_scenario(), savegame::save_index_class::data(), 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::formula::execute(), game_logic::base_candidate_action::execute_formula(), editor::editor_map::from_string(), game_info::game_info(), help::generate_contents(), default_map_generator::generate_map(), get_addon_install_info(), get_addon_pbl_info(), gui2::tminimap::get_image(), vconfig::get_parsed_config(), wesnothd::server::handle_login(), wesnothd::server::handle_nickserv(), handle_preprocess_command(), ng::create_engine::init_all_levels(), wesnothd::ban_manager::list_bans(), wesnothd::ban_manager::list_deleted_bans(), persist_file_context::load(), game_config_manager::load_addons_cfg(), cutter::load_config(), font::load_font_config(), game_launcher::load_game(), game_config_manager::load_game_config(), editor::map_context::load_scenario(), gui2::load_settings(), main(), editor::map_context::map_context(), gui2::tlobby_main::network_handler(), wesnothd::handle_receive_doc< Handler, ErrorHandler >::operator()(), campaign_controller::play_game(), game_launcher::play_multiplayer(), mp::gamebrowser::populate_game_item_map_info(), lobby_info::process_gamelist_diff(), mp::ui::process_network_data(), gamemap::read(), wesnothd::ban_manager::read(), game_config::config_cache::read_cache(), wesnothd::server::read_config(), savegame::read_save_file(), campaignd::server::run(), persist_file_context::save_context(), savegame::savegame::save_game(), wesnothd::game::save_replay(), wesnothd::game::send_history(), help::help_text_area::set_items(), ng::scenario::set_metadata(), help::show_help(), and wesnothd::ban_manager::unban().