#include <ExceptionHandler.h>
Definition at line 19 of file ExceptionHandler.h.
◆ ExceptionHandler() [1/2]
ExceptionHandler::ExceptionHandler |
( |
| ) |
|
|
explicit |
◆ ~ExceptionHandler()
ExceptionHandler::~ExceptionHandler |
( |
| ) |
|
|
override |
◆ ExceptionHandler() [2/2]
◆ Notify()
bool ExceptionHandler::Notify |
( |
const char * |
exceptionOrigin, |
|
|
const char * |
exceptionCode, |
|
|
G4ExceptionSeverity |
severity, |
|
|
const char * |
description |
|
) |
| |
|
override |
Definition at line 13 of file ExceptionHandler.cc.
17 static const G4String es_banner =
"\n-------- EEEE ------- G4Exception-START -------- EEEE -------\n";
18 static const G4String ee_banner =
"\n-------- EEEE -------- G4Exception-END --------- EEEE -------\n";
19 static const G4String ws_banner =
"\n-------- WWWW ------- G4Exception-START -------- WWWW -------\n";
20 static const G4String we_banner =
"\n-------- WWWW -------- G4Exception-END --------- WWWW -------\n";
22 std::stringstream message;
23 message <<
"*** G4Exception : " << exceptionCode <<
"\n"
24 <<
" issued by : " << exceptionOrigin <<
"\n"
30 case FatalErrorInArgument:
31 case RunMustBeAborted:
32 case EventMustBeAborted:
33 ss << es_banner << message.str() << ee_banner;
39 << ws_banner << message.str() <<
"*** This is just a warning message. ***" << we_banner;
References edmLumisInFiles::description, HLT_2018_cff::severity, and contentValuesCheck::ss.
◆ operator!=()
◆ operator=()
◆ operator==()