The Battle for Wesnoth  1.19.7+dev
Public Member Functions | List of all members
gui2::iteration::logic_error Class Referencefinal

Thrown when deferring an invalid iterator. More...

#include <exception.hpp>

Inheritance diagram for gui2::iteration::logic_error:

Public Member Functions

 logic_error (const std::string &message)
 
- 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 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

Thrown when deferring an invalid iterator.

Invalid means the initial state at_end() == true.

Definition at line 36 of file exception.hpp.

Constructor & Destructor Documentation

◆ logic_error()

gui2::iteration::logic_error::logic_error ( const std::string &  message)
inlineexplicit

Definition at line 39 of file exception.hpp.

References lua_jailbreak_exception::store().


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