64 return (
this == &right);
69 return (
this != &right);
73 const char* exceptionCode,
75 const char* description)
78 =
"\n-------- EEEE ------- G4Exception-START -------- EEEE -------\n";
80 =
"\n-------- EEEE -------- G4Exception-END --------- EEEE -------\n";
82 =
"\n-------- WWWW ------- G4Exception-START -------- WWWW -------\n";
84 =
"\n-------- WWWW -------- G4Exception-END --------- WWWW -------\n";
85 std::ostringstream message;
86 message <<
"*** G4Exception : " << exceptionCode <<
G4endl
87 <<
" issued by : " << originOfException <<
G4endl
89 G4bool abortionForCoreDump =
false;
94 G4cerr << es_banner << message.str() <<
"*** Fatal Exception *** core dump ***"
96 abortionForCoreDump =
true;
99 G4cerr << es_banner << message.str() <<
"*** Fatal Error In Argument *** core dump ***"
101 abortionForCoreDump =
true;
106 G4cerr << es_banner << message.str() <<
"*** Run Must Be Aborted ***"
110 abortionForCoreDump =
false;
115 G4cerr << es_banner << message.str() <<
"*** Event Must Be Aborted ***"
119 abortionForCoreDump =
false;
122 G4cout << ws_banner << message.str() <<
"*** This is just a warning message. ***"
124 abortionForCoreDump =
false;
127 return abortionForCoreDump;
virtual void AbortRun(G4bool softAbort=false)
static G4StateManager * GetStateManager()
virtual ~G4ExceptionHandler()
G4int operator==(const G4ExceptionHandler &right) const
G4GLOB_DLL std::ostream G4cout
G4ApplicationState GetCurrentState() const
static G4RunManager * GetRunManager()
virtual G4bool Notify(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
virtual void AbortEvent()
G4GLOB_DLL std::ostream G4cerr
G4int operator!=(const G4ExceptionHandler &right) const