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

Thrown when deferring an invalid iterator. More...

#include <exception.hpp>

Inheritance diagram for gui2::iteration::logic_error:
Inheritance graph

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 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 38 of file exception.hpp.

Constructor & Destructor Documentation

◆ logic_error()

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

Definition at line 41 of file exception.hpp.

References IMPLEMENT_LUA_JAILBREAK_EXCEPTION.


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