The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
image::modification::texception Struct Reference

Exception thrown by the operator() when an error occurs. More...

#include <image_modifications.hpp>

Inheritance diagram for image::modification::texception:
Inheritance graph

Public Member Functions

 texception (const std::stringstream &message_stream)
 Constructor. More...
 
 texception (const std::string &message)
 Constructor. More...
 
 ~texception () throw ()
 
- Public Member Functions inherited from tlua_jailbreak_exception
virtual ~tlua_jailbreak_exception () throw ()
 
void store () const throw ()
 Stores a copy the current exception to be rethrown. More...
 

Public Attributes

const std::string message
 The error message regarding the failed operation. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from tlua_jailbreak_exception
static void rethrow ()
 Rethrows the stored exception. More...
 
- Static Protected Attributes inherited from tlua_jailbreak_exception
static tlua_jailbreak_exceptionjailbreak_exception = nullptr
 The exception to be rethrown. More...
 

Detailed Description

Exception thrown by the operator() when an error occurs.

Definition at line 64 of file image_modifications.hpp.

Constructor & Destructor Documentation

image::modification::texception::texception ( const std::stringstream &  message_stream)

Constructor.

Precondition
message_stream.str()[message_stream.str().size() - 1] == '
'
Parameters
message_streamStream with the error message regarding the failed operation.

Definition at line 116 of file image_modifications.cpp.

image::modification::texception::texception ( const std::string message)

Constructor.

Precondition
message[message.size() - 1] == '
'
Parameters
messageString with the error message regarding the failed operation.

Definition at line 121 of file image_modifications.cpp.

image::modification::texception::~texception ( )
throw (
)
inline

Definition at line 87 of file image_modifications.hpp.

Member Data Documentation

const std::string image::modification::texception::message

The error message regarding the failed operation.

Definition at line 90 of file image_modifications.hpp.

Referenced by image::load_image_sub_file().


The documentation for this struct was generated from the following files: