Public Member Functions | Private Attributes | List of all members
PlotterException Class Reference

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

#include <PlotterException.h>

Inheritance diagram for PlotterException:
Inheritance graph
[legend]
Collaboration diagram for PlotterException:
Collaboration graph
[legend]

Public Member Functions

 PlotterException (const std::string &message)
 Constructor taking the error message as argument.
 PlotterException (const PlotterException &)
 The copy constructor.
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.

Detailed Description

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

Author
Paul F. Kunz Paul_.nosp@m.Kunz.nosp@m.@slac.nosp@m..sta.nosp@m.nford.nosp@m..edu

Definition at line 33 of file PlotterException.h.

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, and num_util::type().

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