3.10.1.10. opengate.exception¶
3.10.1.10.1. Attributes¶
3.10.1.10.2. Exceptions¶
Raise this if a deprecated feature is used. |
|
Raise this if a feature is used that is (currently) unavailable. |
|
Raise this if a feature is used that is (currently) unavailable. |
3.10.1.10.3. Classes¶
Geant4 exception handler. Inherit form GateExceptionHandler |
3.10.1.10.4. Functions¶
|
|
|
|
|
3.10.1.10.5. Module Contents¶
- exception opengate.exception.GateDeprecationError[source]¶
Bases:
ExceptionRaise this if a deprecated feature is used. Provide the user with information on how to update their code.
Bases:
ExceptionRaise this if a feature is used that is (currently) unavailable. Ideally, provide the user with information about alternatives. Can be used as temporary workaround during refactorings.
- exception opengate.exception.GateImplementationError[source]¶
Bases:
ExceptionRaise this if a feature is used that is (currently) unavailable. Ideally, provide the user with information about alternatives. Can be used as temporary workaround during refactorings.
- class opengate.exception.ExceptionHandler[source]¶
Bases:
opengate_core.GateExceptionHandlerGeant4 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