G4HadronicException Class Reference

#include <G4HadronicException.hh>

Inheritance diagram for G4HadronicException:

G4HadReentrentException

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.

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]

Definition at line 51 of file G4HadronicException.hh.

00051 {}


Member Function Documentation

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   }


The documentation for this class was generated from the following file:
Generated on Mon May 27 17:52:08 2013 for Geant4 by  doxygen 1.4.7