CMS 3D CMS Logo

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.

References python.rootplot.argparse::message, what(), and ~MagException().

9 {}
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.

Referenced by MagException().

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(), and MagException().

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().