kn::ControllerException Class Reference

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

#include <ControllerException.hpp>

Inherits std::exception.

Collaboration diagram for kn::ControllerException:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Definition at line 54 of file ControllerException.hpp.


Constructor & Destructor Documentation

kn::ControllerException::ControllerException ( 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 40 of file ControllerException.cpp.

kn::ControllerException::ControllerException ( const ControllerException e  ) 

Copy Constructor.

Parameters:
e Error to clone

Definition at line 51 of file ControllerException.cpp.

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

Exception destructor.

Definition at line 71 of file ControllerException.hpp.


Member Function Documentation

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

Getter for str.

Returns:
Concatenated error string

Definition at line 81 of file ControllerException.hpp.

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

Standard exception function overrinding.

Returns:
Concatenated error string

Definition at line 85 of file ControllerException.hpp.


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

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