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 48 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 55 of file ExtManager.cc.
56 {
57
58 if (strstr(description, "Error returned: 3") != nullptr) {
59 B2DEBUG(1, "In " << origin << ", " << code << ": " << description);
60
61 } else if (strstr(code, "GeomNav0003") != nullptr) {
62 B2DEBUG(20, "In " << origin << ", " << code << ": " << description);
63
64 } else {
65 B2ERROR("In " << origin << ", " << code << ": " << description);
66 }
67 return false;
68 }
The documentation for this class was generated from the following file: