The Battle for Wesnoth  1.15.1+dev
Public Member Functions | List of all members
quit_game_exception Class Reference

Exception used to escape form the ai or ui code to playsingle_controller::play_side. More...

#include <game_end_exceptions.hpp>

Inheritance diagram for quit_game_exception:
Inheritance graph

Public Member Functions

 quit_game_exception ()
 
const char * what () const noexcept
 
- 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...
 

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 escape form the ai or ui code to playsingle_controller::play_side.

Never thrown during replays.

Definition at line 59 of file game_end_exceptions.hpp.

Constructor & Destructor Documentation

◆ quit_game_exception()

quit_game_exception::quit_game_exception ( )
inline

Definition at line 65 of file game_end_exceptions.hpp.

Referenced by throw_quit_game_exception().

Member Function Documentation

◆ what()

const char* quit_game_exception::what ( ) const
inlinenoexcept

Definition at line 70 of file game_end_exceptions.hpp.

References IMPLEMENT_LUA_JAILBREAK_EXCEPTION.


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