#include <G4ExceptionHandler.hh>
Definition at line 56 of file G4ExceptionHandler.hh.
◆ G4ExceptionHandler() [1/2]
G4ExceptionHandler::G4ExceptionHandler |
( |
| ) |
|
◆ ~G4ExceptionHandler()
G4ExceptionHandler::~G4ExceptionHandler |
( |
| ) |
|
|
virtual |
◆ G4ExceptionHandler() [2/2]
◆ Notify()
G4bool G4ExceptionHandler::Notify |
( |
const char * |
originOfException, |
|
|
const char * |
exceptionCode, |
|
|
G4ExceptionSeverity |
severity, |
|
|
const char * |
description |
|
) |
| |
|
virtual |
Implements G4VExceptionHandler.
Definition at line 72 of file G4ExceptionHandler.cc.
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()
G4GLOB_DLL std::ostream G4cout
static G4RunManager * GetRunManager()
virtual void AbortEvent()
G4ApplicationState GetCurrentState() const
G4GLOB_DLL std::ostream G4cerr
◆ operator!=()
◆ operator=()
◆ operator==()
The documentation for this class was generated from the following files: