The Battle for Wesnoth  1.15.1+dev
Public Member Functions | Public Attributes | List of all members
savegame::load_game_exception Class Reference

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:
Inheritance graph

Public Member Functions

 load_game_exception (const std::string &fname)
 
 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 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 74 of file savegame.hpp.

Constructor & Destructor Documentation

◆ load_game_exception() [1/2]

savegame::load_game_exception::load_game_exception ( const std::string &  fname)
inline

Definition at line 78 of file savegame.hpp.

◆ load_game_exception() [2/2]

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

Definition at line 84 of file savegame.hpp.

Member Data Documentation

◆ data_

load_game_metadata savegame::load_game_exception::data_

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