latest version v1.9 - last update 10 Apr 2010 |
Base class for all lti-library exceptions. More...
#include <ltiException.h>
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 () |
exception & | copy (const exception &other) |
virtual exception * | clone () const |
exception & | operator= (const exception &other) |
Protected Attributes | |
std::string | exceptionName |
Base class for all lti-library exceptions.
lti::exception::exception | ( | const char * | excName = "exception" |
) |
constructor.
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.
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
virtual const char* lti::exception::getTypeName | ( | ) | const [virtual] |
name of this type
Reimplemented from lti::object.
Reimplemented in lti::allocException, lti::functor::invalidParametersException, lti::functor::invalidMethodException, lti::classifier::invalidOutputException, lti::classifier::invalidParametersException, lti::classifier::invalidMethodException, lti::classifier::parametersOutOfRangeException, lti::susan::susanError, lti::genericVector< T >::constReferenceException, lti::linearAlgebraFunctor::singularMatrixException, lti::linearAlgebraFunctor::incompatibleDimensionsException, lti::viewerBase::invalidParametersException, and lti::lapackInterface::matrixNotConnected.
alias for copy operator!
References copy().
virtual const char* lti::exception::what | ( | ) | const throw () [virtual] |
std::string lti::exception::exceptionName [protected] |