CMS 3D CMS Logo

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

#include <GeomExceptions.h>

Inheritance diagram for BaseGeomException:
GeometryError

Public Member Functions

 BaseGeomException () throw ()
 
 BaseGeomException (const std::string &message)
 
const char * what () const override throw ()
 
 ~BaseGeomException () override throw ()
 

Private Attributes

std::string theMessage
 

Detailed Description

Definition at line 7 of file GeomExceptions.h.

Constructor & Destructor Documentation

◆ BaseGeomException() [1/2]

BaseGeomException::BaseGeomException ( )
throw (
)
inline

Definition at line 9 of file GeomExceptions.h.

9 {}

◆ BaseGeomException() [2/2]

BaseGeomException::BaseGeomException ( const std::string &  message)
inline

Definition at line 10 of file GeomExceptions.h.

10 : theMessage(message) {}

◆ ~BaseGeomException()

BaseGeomException::~BaseGeomException ( )
throw (
)
inlineoverride

Definition at line 11 of file GeomExceptions.h.

11 {}

Member Function Documentation

◆ what()

const char* BaseGeomException::what ( ) const
throw (
)
inlineoverride

Definition at line 12 of file GeomExceptions.h.

12 { return theMessage.c_str(); }

References theMessage.

Member Data Documentation

◆ theMessage

std::string BaseGeomException::theMessage
private

Definition at line 15 of file GeomExceptions.h.

Referenced by what().

BaseGeomException::theMessage
std::string theMessage
Definition: GeomExceptions.h:15