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

PlotterException Class Reference

#include <PlotterException.h>

Inheritance diagram for PlotterException:

Inheritance graph
[legend]
Collaboration diagram for PlotterException:

Collaboration graph
[legend]
List of all members.

Detailed Description

An exception class that is thrown when attempting an illegal operation on a PlotterBase object.

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

Definition at line 31 of file PlotterException.h.

Public Member Functions

 PlotterException (const PlotterException &)
 The copy constructor.
 PlotterException (const std::string &message)
 Constructor taking the error message as argument.
virtual const char * what () const throw ()
 The standard method to return a string giving message about the cause of the exception.
virtual ~PlotterException () throw ()
 The virtual destructor.

Private Attributes

std::string m_message
 The error message.


Constructor & Destructor Documentation

PlotterException::PlotterException const std::string message  ) 
 

Constructor taking the error message as argument.

Definition at line 15 of file PlotterException.cxx.

References m_message.

PlotterException::PlotterException const PlotterException  ) 
 

The copy constructor.

Attention:
Although the implementation is the same as the default copy constructor, GCC 2.95.3 needs an implementation else the exception is not caught. It is not needed by GCC 3.2.1.

Definition at line 21 of file PlotterException.cxx.

References m_message.

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

The virtual destructor.

Appears that the required declaration has to be the same as the base class, according to GCC 3.2.1.

Definition at line 27 of file PlotterException.cxx.


Member Function Documentation

const char * PlotterException::what  )  const throw () [virtual]
 

The standard method to return a string giving message about the cause of the exception.

Definition at line 33 of file PlotterException.cxx.

References m_message.


Member Data Documentation

std::string PlotterException::m_message [private]
 

The error message.

Definition at line 36 of file PlotterException.h.

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