Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

FitterException Class Reference

#include <FitterException.h>

Inheritance diagram for FitterException:

Inheritance graph
[legend]
Collaboration diagram for FitterException:

Collaboration graph
[legend]
List of all members.

Detailed Description

An exception class that is thrown when there is an error related to a data source.

Author:
Paul F. Kunz <Paul_Kunz@slac.stanford.edu>

Definition at line 31 of file FitterException.h.

Public Member Functions

 FitterException (const std::string &type)
 The constructor.
 FitterException (const FitterException &)
 The copy constructor.
char const * what () const throw ()
 The error message that can be retreived.
virtual ~FitterException () throw ()
 The destructor.

Private Attributes

std::string m_what
 The error message to be displayed.


Constructor & Destructor Documentation

FitterException::FitterException const FitterException  ) 
 

The copy constructor.

Attention:
GCC 2.95.3 needs it else exception doesn't appear to be caught correctly. GCC 3.2.1 doesn't need it.

Definition at line 17 of file FitterException.cxx.

References m_what.

FitterException::FitterException const std::string type  ) 
 

The constructor.

Takes as argument the type name that could not be found in the factory.

Definition at line 23 of file FitterException.cxx.

References m_what.

FitterException::~FitterException  )  throw () [virtual]
 

The destructor.

Attention:
Althought implementation does nothing GCC 3.2.1 insists that it declared like the base class.

Definition at line 29 of file FitterException.cxx.


Member Function Documentation

char const * FitterException::what  )  const throw ()
 

The error message that can be retreived.

Definition at line 35 of file FitterException.cxx.

References m_what.


Member Data Documentation

std::string FitterException::m_what [private]
 

The error message to be displayed.

Definition at line 36 of file FitterException.h.

Referenced by FitterException(), and what().


The documentation for this class was generated from the following files:
Generated for HippoDraw-1.14.8.5 by doxygen 1.4.3