19#ifndef BDSEXCEPTIONHANDLER_H
20#define BDSEXCEPTIONHANDLER_H
22#include "G4ExceptionHandler.hh"
49 virtual G4bool
Notify(
const char* originOfException,
50 const char* exceptionCode, G4ExceptionSeverity severity,
51 const char* description);
Handler that overrides Geant4's behaviour back to a normal exception.
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.
BDSExceptionHandler(const BDSExceptionHandler &)=delete
As per G4 - delete these.
BDSExceptionHandler & operator=(const BDSExceptionHandler &)=delete
As per G4 - delete these.