Go to the source code of this file.
void G4Exception |
( |
const char * |
originOfException, |
|
|
const char * |
exceptionCode, |
|
|
G4ExceptionSeverity |
severity, |
|
|
const char * |
comments |
|
) |
| |
Definition at line 41 of file G4Exception.cc.
51 toBeAborted = exceptionHandler
52 ->
Notify(originOfException,exceptionCode,severity,description);
57 =
"\n-------- EEEE ------- G4Exception-START -------- EEEE -------\n";
59 =
"\n-------- EEEE -------- G4Exception-END --------- EEEE -------\n";
61 =
"\n-------- WWWW ------- G4Exception-START -------- WWWW -------\n";
63 =
"\n-------- WWWW -------- G4Exception-END --------- WWWW -------\n";
64 std::ostringstream message;
65 message <<
"\n*** ExceptionHandler is not defined ***\n"
66 <<
"*** G4Exception : " << exceptionCode <<
G4endl
67 <<
" issued by : " << originOfException <<
G4endl
72 G4cerr << es_banner << message.str() <<
"*** Fatal Exception ***"
76 G4cerr << es_banner << message.str() <<
"*** Fatal Error In Argument ***"
80 G4cerr << es_banner << message.str() <<
"*** Run Must Be Aborted ***"
84 G4cerr << es_banner << message.str() <<
"*** Event Must Be Aborted ***"
88 G4cout << ws_banner << message.str()
89 <<
"*** This is just a warning message. ***"
99 G4cerr << G4endl <<
"*** G4Exception: Aborting execution ***" <<
G4endl;
104 G4cerr << G4endl <<
"*** G4Exception: Abortion suppressed ***"
105 << G4endl <<
"*** No guarantee for further execution ***" <<
G4endl;
virtual G4bool Notify(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)=0
G4VExceptionHandler * GetExceptionHandler() const
static G4StateManager * GetStateManager()
G4GLOB_DLL std::ostream G4cout
G4GLOB_DLL std::ostream G4cerr
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const G4Timer & |
t |
|
) |
| |
Definition at line 87 of file G4Timer.cc.
97 os <<
"User=****s Real=****s Sys=****s";
G4double GetSystemElapsed() const
G4double GetUserElapsed() const
G4double GetRealElapsed() const