LTI-Lib latest version v1.9 - last update 24 Nov 2005
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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

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::jpeg::JpegError, lti::jpeg::JpegFatalError, lti::jpeg::JpegAbort, lti::jpeg::JpegValueOutOfRange, lti::jpeg::JpegIndexOutOfRange, lti::jpeg::JpegBadOutputParameter, lti::jpeg::JpegBadData, lti::png::PngError, lti::png::BadPngStream, lti::genericVector< T >::constReferenceException, lti::linearAlgebraFunctor::singularMatrixException, lti::linearAlgebraFunctor::incompatibleDimensionsException, lti::viewerBase::invalidParametersException, and lti::lapackInterface::matrixNotConnected.

exception& lti::exception::operator= const exception other  )  [inline]
 

alias for copy operator!

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

name of the exception

Reimplemented in lti::png::DeflateEncoder::DeflateError, and lti::png::InflateDecoder::StreamError.


Member Data Documentation

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

the exception message.

This string will be returned with the method what()


The documentation for this class was generated from the following file:
Generated on Thu Nov 24 16:30:03 2005 for LTI-Lib by Doxygen 1.4.4