Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4HadronicException Class Reference

#include <G4HadronicException.hh>

Inheritance diagram for G4HadronicException:
Collaboration diagram for G4HadronicException:

Public Member Functions

 G4HadronicException (G4String in, G4int at, G4String mess)
 
virtual ~G4HadronicException () throw ()
 
void Report (std::ostream &aS)
 

Detailed Description

Definition at line 33 of file G4HadronicException.hh.

Constructor & Destructor Documentation

G4HadronicException::G4HadronicException ( G4String  in,
G4int  at,
G4String  mess 
)
inline

Definition at line 36 of file G4HadronicException.hh.

37  {
38  theMessage = mess;
39  theName = in;
40  theLine = at;
41 
42  Report(G4cout);
43 
44  if(getenv("DumpCoreOnHadronicException") )
45  {
46  G4Exception("G4HadronicException", "007", FatalException,
47  "Fatal problem in above location");
48  }
49 
50  }
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
void Report(std::ostream &aS)

Here is the call graph for this function:

virtual G4HadronicException::~G4HadronicException ( )
throw (
)
inlinevirtual

Definition at line 51 of file G4HadronicException.hh.

51 {}

Member Function Documentation

void G4HadronicException::Report ( std::ostream &  aS)
inline

Definition at line 53 of file G4HadronicException.hh.

54  {
55  aS<< "In " <<theName<<", line "<<theLine<<": "<<std::endl;
56  aS<< "===> "<<theMessage<<std::endl;
57  }

Here is the caller graph for this function:


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