Geant4  10.00.p02
c2_exception Class Reference

the exception class for c2_function operations. More...

#include <c2_function.hh>

+ Inheritance diagram for c2_exception:
+ Collaboration diagram for c2_exception:

Public Member Functions

 c2_exception (const char msgcode[])
 construct the exception with an error message More...
 
virtual ~c2_exception () throw ()
 
virtual const char * what () const throw ()
 Returns a C-style character string describing the general cause of the current error. More...
 

Private Attributes

std::string info
 

Detailed Description

the exception class for c2_function operations.

Definition at line 65 of file c2_function.hh.

Constructor & Destructor Documentation

c2_exception::c2_exception ( const char  msgcode[])
inline

construct the exception with an error message

Parameters
msgcodethe message

Definition at line 69 of file c2_function.hh.

virtual c2_exception::~c2_exception ( )
throw (
)
inlinevirtual

Definition at line 70 of file c2_function.hh.

Member Function Documentation

virtual const char* c2_exception::what ( void  ) const
throw (
)
inlinevirtual

Returns a C-style character string describing the general cause of the current error.

Definition at line 73 of file c2_function.hh.

References info.

Member Data Documentation

std::string c2_exception::info
private

Definition at line 75 of file c2_function.hh.

Referenced by what().


The documentation for this class was generated from the following file: