Geant4  10.03.p03
 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 <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 ()
 

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.

69 : info(msgcode) { }
const XML_Char XML_Encoding * info
Definition: expat.h:530
virtual c2_exception::~c2_exception ( )
throw (
)
inlinevirtual

Definition at line 70 of file c2_function.hh.

70 { }

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.

73 { return info.c_str(); }
const XML_Char XML_Encoding * info
Definition: expat.h:530

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