#include <G4HadronicException.hh>
Inheritance diagram for G4HadronicException:
Public Member Functions | |
G4HadronicException (G4String in, G4int at, G4String mess) | |
virtual | ~G4HadronicException () throw () |
void | Report (std::ostream &aS) |
Definition at line 33 of file G4HadronicException.hh.
Definition at line 36 of file G4HadronicException.hh.
References FatalException, G4cout, G4Exception(), and Report().
00037 { 00038 theMessage = mess; 00039 theName = in; 00040 theLine = at; 00041 00042 Report(G4cout); 00043 00044 if(getenv("DumpCoreOnHadronicException") ) 00045 { 00046 G4Exception("G4HadronicException", "007", FatalException, 00047 "Fatal problem in above location"); 00048 } 00049 00050 }
virtual G4HadronicException::~G4HadronicException | ( | ) | throw () [inline, virtual] |
void G4HadronicException::Report | ( | std::ostream & | aS | ) | [inline] |
Reimplemented in G4HadReentrentException.
Definition at line 53 of file G4HadronicException.hh.
Referenced by G4HadronicProcess::BuildPhysicsTable(), G4HadronicException(), G4HadronicProcess::GetMeanFreePath(), G4HadronicProcess::PostStepDoIt(), G4HadronicProcess::RegisterMe(), and G4HadReentrentException::Report().
00054 { 00055 aS<< "In " <<theName<<", line "<<theLine<<": "<<std::endl; 00056 aS<< "===> "<<theMessage<<std::endl; 00057 }