kn::GeometryException Class Reference

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

#include <GeometryException.hpp>

Inherits std::exception.

Collaboration diagram for kn::GeometryException:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GeometryException (const std::string &err="", const std::string &funcname="")
 Constructor with error string and calling function name.
 GeometryException (const GeometryException &e)
 Copy Constructor.
 ~GeometryException () 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 geometry error.

Definition at line 52 of file GeometryException.hpp.


Constructor & Destructor Documentation

kn::GeometryException::GeometryException ( 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 37 of file GeometryException.cpp.

kn::GeometryException::GeometryException ( const GeometryException e  ) 

Copy Constructor.

Parameters:
e Error to clone

Definition at line 48 of file GeometryException.cpp.

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

Exception destructor.

Definition at line 72 of file GeometryException.hpp.


Member Function Documentation

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

Getter for str.

Returns:
Concatenated error string

Definition at line 85 of file GeometryException.hpp.

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

Standard exception function overrinding.

Returns:
Concatenated error string

Definition at line 90 of file GeometryException.hpp.


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

Generated on Thu Nov 12 16:06:36 2009 for OpenKN-geometry by  doxygen 1.5.8