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

DataSourceException Class Reference

#include <DataSourceException.h>

Inheritance diagram for DataSourceException:

Inheritance graph
[legend]
Collaboration diagram for DataSourceException:

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 29 of file DataSourceException.h.

Public Member Functions

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

Private Attributes

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


Constructor & Destructor Documentation

DataSourceException::DataSourceException const DataSourceException  ) 
 

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 15 of file DataSourceException.cxx.

References m_what.

DataSourceException::DataSourceException const std::string type  ) 
 

The constructor.

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

Definition at line 21 of file DataSourceException.cxx.

References m_what.

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

The destructor.

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

Definition at line 27 of file DataSourceException.cxx.


Member Function Documentation

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

The error message that can be retreived.

Definition at line 33 of file DataSourceException.cxx.

References m_what.

Referenced by Inspector::newPlotError(), Inspector::ntupleChanged(), QtFileDialog::openFitsTuple(), QtFileDialog::openRootTuple(), and QtFileDialog::openTextTuple().


Member Data Documentation

std::string DataSourceException::m_what [private]
 

The error message to be displayed.

Definition at line 34 of file DataSourceException.h.

Referenced by DataSourceException(), 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