CMS 3D CMS Logo

Public Member Functions | Private Attributes

MagException Class Reference

#include <MagExceptions.h>

Inheritance diagram for MagException:
MagGeometryError MagLogicError

List of all members.

Public Member Functions

 MagException () throw ()
 MagException (const char *message)
virtual const char * what () const throw ()
virtual ~MagException () throw ()

Private Attributes

std::string theMessage

Detailed Description

Definition at line 7 of file MagExceptions.h.


Constructor & Destructor Documentation

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

Definition at line 9 of file MagExceptions.h.

{}
MagException::MagException ( const char *  message)

Definition at line 3 of file MagExceptions.cc.

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

Definition at line 4 of file MagExceptions.cc.

{}

Member Function Documentation

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

Definition at line 6 of file MagExceptions.cc.

References theMessage.

Referenced by MagGeoBuilderFromDDD::buildInterpolator().

{ return theMessage.c_str();}

Member Data Documentation

std::string MagException::theMessage [private]

Definition at line 14 of file MagExceptions.h.

Referenced by what().