Problem 114 - G4Exception handling.
Summary: G4Exception handling.
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: global (show other problems)
Version: 1.1
Hardware: PC Linux
: P2 enhancement
Assignee: Makoto.Asai
URL:
Depends on:
Blocks:
 
Reported: 2000-06-27 15:53 CEST by lebrun
Modified: 2000-07-28 21:28 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description lebrun 2000-06-27 15:53:20 CEST
Is there a user handle once G4 detected an exception?
G4 currently can self - abort, can I can save some information on the
statistics already accumulated?

May be there is a way, however, I did not found it in the documentation.
Comment 1 Gabriele Cosmo 2000-06-28 03:45:59 CEST
Currently there's nothing like this in Geant4. G4Exception is a simple
class printing aome diagnostics and aporting the application when invoked.
For reasons mainly related to performance, C++ exception handling is not
used in Geant4. However, we are planning to extend the current mechanism
by introducing the capability of handling G4Exceptions in the run manager
and allowing users to define the desired application behavior.
Comment 2 Makoto.Asai 2000-06-28 03:54:59 CEST
I recognize this is a reasonable requirement. As Gabriele wrote in his
comment, a new user hook will be introduced. Unfortunately it is too late
to have it in the coming release which will happen in a couple of days.
The implementation will be done after the current releaase procedure.
Comment 3 Makoto.Asai 2000-07-28 21:28:59 CEST
Fixes are in the most recent reference tag of geant4-02-00-ref-01.