3.10.1.10. opengate.exception

3.10.1.10.1. Attributes

color_error

3.10.1.10.2. Classes

ExceptionHandler

Geant4 exception handler. Inherit form GateExceptionHandler

3.10.1.10.3. Functions

fatal(s)

warning(s)

raise_except(s)

3.10.1.10.4. Module Contents

opengate.exception.color_error[source]
opengate.exception.fatal(s)[source]
opengate.exception.warning(s)[source]
opengate.exception.raise_except(s)[source]
class opengate.exception.ExceptionHandler[source]

Bases: opengate_core.GateExceptionHandler

Geant4 exception handler. Inherit form GateExceptionHandler The function ‘Notify’ will be called by G4 when an exception occurs. Should be created after initialization. Will be automatically stored in the G4 stateManager

Notify(originOfException, exceptionCode, severity, description)[source]