3.1.2.7. opengate.exception

3.1.2.7.1. Module Contents

3.1.2.7.1.1. Classes

ExceptionHandler

Geant4 exception handler. Inherit form GateExceptionHandler

3.1.2.7.1.2. Functions

fatal(s)

warning(s)

raise_except(s)

3.1.2.7.1.3. Attributes

color_error

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]