41 #include "G4String.hh"
63 return (
this == &right);
68 return (
this != &right);
72 const char* exceptionCode,
74 const char* description)
77 =
"\n-------- EEEE ------- G4Exception-START -------- EEEE -------\n";
79 =
"\n-------- EEEE -------- G4Exception-END --------- EEEE -------\n";
81 =
"\n-------- WWWW ------- G4Exception-START -------- WWWW -------\n";
83 =
"\n-------- WWWW -------- G4Exception-END --------- WWWW -------\n";
85 message <<
"*** G4Exception : " << exceptionCode <<
G4endl
86 <<
" issued by : " << originOfException <<
G4endl
88 G4bool abortionForCoreDump =
false;
93 G4cerr << es_banner << message.str() <<
"*** Fatal Exception *** core dump ***" <<
G4endl;
96 abortionForCoreDump =
true;
99 G4cerr << es_banner << message.str() <<
"*** Fatal Error In Argument *** core dump ***" <<
G4endl;
102 abortionForCoreDump =
true;
107 G4cerr << es_banner << message.str() <<
"*** Run Must Be Aborted ***" <<
G4endl;
112 abortionForCoreDump =
false;
117 G4cerr << es_banner << message.str() <<
"*** Event Must Be Aborted ***" <<
G4endl;
122 abortionForCoreDump =
false;
125 G4cout << ws_banner << message.str() <<
"*** This is just a warning message. ***"
127 abortionForCoreDump =
false;
130 return abortionForCoreDump;
156 G4cerr <<
" **** Track information is not available at this moment" <<
G4endl;
160 G4cerr <<
"G4Track (" << theTrack <<
") - track ID = " << theTrack->
GetTrackID()
169 {
G4cerr <<
" - creator process : not available" <<
G4endl; }
176 G4cerr <<
" **** Step information is not available at this moment" <<
G4endl;
184 G4cerr <<
" - Physical volume : ";
191 {
G4cerr <<
" (material not available)"; }
194 {
G4cerr <<
"not available"; }
198 G4cerr <<
" - defined by : "
207 G4cerr <<
" - Physical volume : ";
214 {
G4cerr <<
" (material not available)"; }
217 {
G4cerr <<
"not available"; }
221 G4cerr <<
" - defined by : "
229 G4cerr <<
" *** Note: Step information might not be properly updated." <<
G4endl;