LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::exception Class Reference

Base class for all lti-library exceptions. More...

#include <ltiException.h>

Inheritance diagram for lti::exception:
Inheritance graph
[legend]
Collaboration diagram for lti::exception:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 exception (const char *excName="exception")
 exception (const std::string &excName)
 exception (const exception &other)
virtual ~exception () throw ()
virtual const char * getTypeName () const
virtual const char * what () const throw ()
exceptioncopy (const exception &other)
virtual exceptionclone () const
exceptionoperator= (const exception &other)

Protected Attributes

std::string exceptionName

Detailed Description

Base class for all lti-library exceptions.


Constructor & Destructor Documentation

lti::exception::exception ( const char *  excName = "exception"  ) 

constructor.

Parameters:
excName name of the exception. These string will be copied and can be accessed with the "what()" method
lti::exception::exception ( const std::string &  excName  ) 

constructor.

Parameters:
excName name of the exception. These string will be copied and can be accessed with the "what()" method
lti::exception::exception ( const exception other  ) 

copy constructor

virtual lti::exception::~exception (  )  throw () [virtual]

destructor


Member Function Documentation

virtual exception* lti::exception::clone (  )  const [virtual]

clone this object

exception& lti::exception::copy ( const exception other  )  [inline]

copy member

References exceptionName, and what().

Referenced by operator=().

virtual const char* lti::exception::getTypeName (  )  const [virtual]
exception& lti::exception::operator= ( const exception other  )  [inline]

alias for copy operator!

References copy().

virtual const char* lti::exception::what (  )  const throw () [virtual]

name of the exception

Referenced by copy().


Member Data Documentation

std::string lti::exception::exceptionName [protected]

the exception message.

This string will be returned with the method what()

Referenced by copy().


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

Generated on Sat Apr 10 15:26:43 2010 for LTI-Lib by Doxygen 1.6.1