CMS 3D CMS Logo

MagException Class Reference

#include <MagneticField/VolumeGeometry/interface/MagExceptions.h>

Inheritance diagram for MagException:

MagGeometryError MagLogicError

List of all members.

Public Member Functions

 MagException (const std::string &message)
 MagException () throw ()
virtual const char * what () const throw ()
virtual ~MagException () throw ()

Private Attributes

std::string theMessage


Detailed Description

Definition at line 6 of file MagExceptions.h.


Constructor & Destructor Documentation

MagException::MagException (  )  throw () [inline]

Definition at line 8 of file MagExceptions.h.

00008 {}

MagException::MagException ( const std::string &  message  )  [inline]

Definition at line 9 of file MagExceptions.h.

00009 : theMessage(message) {}

virtual MagException::~MagException (  )  throw () [inline, virtual]

Definition at line 10 of file MagExceptions.h.

00010 {}


Member Function Documentation

virtual const char* MagException::what (  )  const throw () [inline, virtual]

Definition at line 11 of file MagExceptions.h.

References theMessage.

00011 { return theMessage.c_str();}


Member Data Documentation

std::string MagException::theMessage [private]

Definition at line 13 of file MagExceptions.h.

Referenced by what().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:27:56 2009 for CMSSW by  doxygen 1.5.4