allpix::G4ExceptionHandler

Exception handler for Geant4. More…

#include <G4ExceptionHandler.hpp>

Inherits from G4VExceptionHandler

Public Functions

Name
G4bool Notify(const char * , const char * code, G4ExceptionSeverity severity, const char * description) override

Detailed Description

class allpix::G4ExceptionHandler;

Exception handler for Geant4.

This class is registered with the G4StateManager and handles exceptions thrown in the Geant4 framework. It simply constructs an allpix::ModuleError exception and throws it, for the framework to take further action such as terminating the run

Public Functions Documentation

function Notify

inline G4bool Notify(
    const char * ,
    const char * code,
    G4ExceptionSeverity severity,
    const char * description
) override

Updated on 2025-02-27 at 14:14:46 +0000