kn::ImageException Class Reference

Exception thrown in case of image error. More...

#include <ImageException.hpp>

Inherits std::exception.

Collaboration diagram for kn::ImageException:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ImageException (const std::string &err="", const std::string &funcname="")
 Constructor with error string and calling function name.
 ImageException (const ImageException &e)
 Copy Constructor.
 ~ImageException () throw ()
 Exception destructor.
std::string errorString () const
 Getter for str.
virtual const char * what () const throw ()
 Standard exception function overrinding.


Detailed Description

Exception thrown in case of image error.

Definition at line 56 of file ImageException.hpp.


Constructor & Destructor Documentation

kn::ImageException::ImageException ( const std::string &  err = "",
const std::string &  funcname = "" 
)

Constructor with error string and calling function name.

Parameters:
err Error string
funcname calling function name

Definition at line 38 of file ImageException.cpp.

kn::ImageException::ImageException ( const ImageException e  ) 

Copy Constructor.

Parameters:
e Error to clone

Definition at line 49 of file ImageException.cpp.

kn::ImageException::~ImageException (  )  throw () [inline]

Exception destructor.

Definition at line 73 of file ImageException.hpp.


Member Function Documentation

std::string kn::ImageException::errorString (  )  const [inline]

Getter for str.

Returns:
Concatenated error string

Definition at line 84 of file ImageException.hpp.

virtual const char* kn::ImageException::what (  )  const throw () [inline, virtual]

Standard exception function overrinding.

Returns:
Concatenated error string

Definition at line 88 of file ImageException.hpp.


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

Generated on Thu Nov 12 16:06:36 2009 for OpenKraken-image by  doxygen 1.5.8