CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
MagException Class Reference

#include <MagExceptions.h>

Inheritance diagram for MagException:
MagGeometryError MagLogicError

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.

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

Definition at line 3 of file MagExceptions.cc.

std::string theMessage
Definition: MagExceptions.h:14
MagException::~MagException ( )
throw (
)
virtual

Definition at line 4 of file MagExceptions.cc.

4 {}

Member Function Documentation

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

Definition at line 6 of file MagExceptions.cc.

References theMessage.

Referenced by MagGeoBuilderFromDDD::buildInterpolator().

6 { return theMessage.c_str();}
std::string theMessage
Definition: MagExceptions.h:14

Member Data Documentation

std::string MagException::theMessage
private

Definition at line 14 of file MagExceptions.h.

Referenced by what().