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 33 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 ( const std::string &  message  ) 

Constructor taking the error message as argument.

Definition at line 17 of file PlotterException.cxx.

References PlotterException::m_message.

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 23 of file PlotterException.cxx.

References PlotterException::m_message.

~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 30 of file PlotterException.cxx.


Member Function Documentation

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

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

Definition at line 36 of file PlotterException.cxx.

References PlotterException::m_message.


Member Data Documentation

std::string m_message [private]

The error message.

Definition at line 38 of file PlotterException.h.

Referenced by PlotterException::PlotterException(), and PlotterException::what().


The documentation for this class was generated from the following files:
Generated for HippoDraw Class Library by doxygen