Improvements in Geant4 Interface
- First set up logging destinations, then starting to initialize geometry
- Register exception handler with Geant4 to avoid them calling
abort()
causing a hard end. We handle theG4Exception
by constructing and throwing aModuleError
with a descriptive message.