ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
c2_exception Class Reference

the exception class for c2_function operations. More...

#include <geant4/tree/geant4-10.6-release/examples/extended/electromagnetic/TestEm7/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
 
virtual ~c2_exception () throw ()
 
virtual const char * what () const throw ()
 

Private Attributes

std::string info
 

Detailed Description

the exception class for c2_function operations.

Definition at line 64 of file c2_function.hh.

View newest version in sPHENIX GitHub at line 64 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 68 of file c2_function.hh.

View newest version in sPHENIX GitHub at line 68 of file c2_function.hh

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

Definition at line 69 of file c2_function.hh.

View newest version in sPHENIX GitHub at line 69 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 72 of file c2_function.hh.

View newest version in sPHENIX GitHub at line 72 of file c2_function.hh

Member Data Documentation

std::string c2_exception::info
private

Definition at line 74 of file c2_function.hh.

View newest version in sPHENIX GitHub at line 74 of file c2_function.hh


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