Public Member Functions | Public Attributes

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
[legend]
Collaboration diagram for image::modification::texception:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 texception (const std::stringstream &message_stream)
 Constructor.
 texception (const std::string &message)
 Constructor.
 ~texception () throw ()

Public Attributes

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

Detailed Description

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

Definition at line 39 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_stream Stream with the error message regarding the failed operation.

Definition at line 80 of file image_modifications.cpp.

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

Constructor.

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

Definition at line 85 of file image_modifications.cpp.

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

Definition at line 62 of file image_modifications.hpp.


Member Data Documentation

The error message regarding the failed operation.

Definition at line 65 of file image_modifications.hpp.

Referenced by image::locator::load_image_sub_file().


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:24:09 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs