The Battle for Wesnoth  1.19.0-dev
Public Member Functions | Public Attributes | List of all members
savegame::load_game_exception Class Referencefinal

Exception used to signal that the user has decided to abortt a game, and to load another game instead. More...

#include <savegame.hpp>

Inheritance diagram for savegame::load_game_exception:

Public Member Functions

 load_game_exception (load_game_metadata &&data)
 
- Public Member Functions inherited from lua_jailbreak_exception
virtual ~lua_jailbreak_exception () noexcept
 
void store () const noexcept
 Stores a copy the current exception to be rethrown. More...
 

Public Attributes

load_game_metadata data_
 

Additional Inherited Members

- Static Public Member Functions inherited from lua_jailbreak_exception
static void rethrow ()
 Rethrows the stored exception. More...
 
- Static Public Attributes inherited from lua_jailbreak_exception
static int jail_depth = 0
 Depth of recursive luaW_pcall_internal() function calls. More...
 
- Static Protected Attributes inherited from lua_jailbreak_exception
static lua_jailbreak_exceptionjailbreak_exception = nullptr
 The exception to be rethrown. More...
 

Detailed Description

Exception used to signal that the user has decided to abortt a game, and to load another game instead.

Definition at line 83 of file savegame.hpp.

Constructor & Destructor Documentation

◆ load_game_exception()

savegame::load_game_exception::load_game_exception ( load_game_metadata &&  data)
inlineexplicit

Definition at line 87 of file savegame.hpp.

References lua_jailbreak_exception::store().

Member Data Documentation

◆ data_

load_game_metadata savegame::load_game_exception::data_

Definition at line 93 of file savegame.hpp.


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