Geant4_10
Public Member Functions | List of all members
c2_exception Class Reference

the exception class for c2_function operations. More...

#include <c2_function.hh>

Inheritance diagram for c2_exception:
Inheritance graph
[legend]
Collaboration diagram for c2_exception:
Collaboration graph
[legend]

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

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.


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