Class to handle G4Exception raised during PropagateOneStep()
More...
|
| StepExceptionHandler () |
| Constructor.
|
|
| ~StepExceptionHandler () |
| Destructor.
|
|
virtual bool | Notify (const char *origin, const char *code, G4ExceptionSeverity, const char *description) |
| G4VExceptionHandler method called when an exception is raised.
|
|
Class to handle G4Exception raised during PropagateOneStep()
Definition at line 49 of file ExtManager.cc.
◆ StepExceptionHandler()
◆ ~StepExceptionHandler()
◆ Notify()
virtual bool Notify |
( |
const char * |
origin, |
|
|
const char * |
code, |
|
|
G4ExceptionSeverity |
, |
|
|
const char * |
description |
|
) |
| |
|
inlinevirtual |
G4VExceptionHandler method called when an exception is raised.
Definition at line 56 of file ExtManager.cc.
57 {
58
59 if (strstr(description, "Error returned: 3") != nullptr) {
60 B2DEBUG(1, "In " << origin << ", " << code << ": " << description);
61
62 } else if (strstr(code, "GeomNav0003") != nullptr) {
63 B2DEBUG(20, "In " << origin << ", " << code << ": " << description);
64
65 } else {
66 B2ERROR("In " << origin << ", " << code << ": " << description);
67 }
68 return false;
69 }
The documentation for this class was generated from the following file: