37 const char* exceptionCode,
39 const char* description)
46 toBeAborted = exceptionHandler
47 ->
Notify(originOfException,exceptionCode,severity,description);
56 message <<
"\n*** ExceptionHandler is not defined ***\n"
57 <<
"*** G4Exception : " << exceptionCode <<
G4endl
58 <<
" issued by : " << originOfException <<
G4endl
63 G4cerr << es_banner << message.str() <<
"*** Fatal Exception ***"
67 G4cerr << es_banner << message.str() <<
"*** Fatal Error In Argument ***"
71 G4cerr << es_banner << message.str() <<
"*** Run Must Be Aborted ***"
75 G4cerr << es_banner << message.str() <<
"*** Event Must Be Aborted ***"
79 G4cout << ws_banner << message.str()
80 <<
"*** This is just a warning message. ***"
95 G4cerr <<
G4endl <<
"*** G4Exception: Abortion suppressed ***"
96 <<
G4endl <<
"*** No guarantee for further execution ***" <<
G4endl;
102 const char* exceptionCode,
107 G4Exception(originOfException, exceptionCode, severity, des.c_str());
111 const char* exceptionCode,
114 const char* comments)
116 description << comments <<
G4endl;
117 G4Exception(originOfException, exceptionCode, severity, description);