19#include "BDSException.hh"
20#include "BDSExceptionHandler.hh"
25BDSExceptionHandler::~BDSExceptionHandler()
29 const char* exceptionCode,
30 G4ExceptionSeverity severity,
31 const char* description)
33 G4bool underlyingResult = G4ExceptionHandler::Notify(originOfException,
39 {
throw BDSException(__METHOD_NAME__,
"Geant4 exception thrown");}
BDSExceptionHandler()
When called, the base class will register this object with G4StateManager.
virtual G4bool Notify(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
Virtual method to override behaviour.
General exception with possible name of object and message.