source: trunk/source/global/management/include/G4ExceptionSeverity.hh@ 1259

Last change on this file since 1259 was 1228, checked in by garnier, 16 years ago

update geant4.9.3 tag

File size: 2.8 KB
Line 
1//
2// ********************************************************************
3// * License and Disclaimer *
4// * *
5// * The Geant4 software is copyright of the Copyright Holders of *
6// * the Geant4 Collaboration. It is provided under the terms and *
7// * conditions of the Geant4 Software License, included in the file *
8// * LICENSE and available at http://cern.ch/geant4/license . These *
9// * include a list of copyright holders. *
10// * *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work make any representation or warranty, express or implied, *
14// * regarding this software system or assume any liability for its *
15// * use. Please see the license in the file LICENSE and URL above *
16// * for the full disclaimer and the limitation of liability. *
17// * *
18// * This code implementation is the result of the scientific and *
19// * technical work of the GEANT4 collaboration. *
20// * By using, copying, modifying or distributing the software (or *
21// * any work based on the software) you agree to acknowledge its *
22// * use in resulting scientific publications, and indicate your *
23// * acceptance of all terms of the Geant4 Software license. *
24// ********************************************************************
25//
26//
27// $Id: G4ExceptionSeverity.hh,v 1.3 2006/06/29 19:01:27 gunter Exp $
28// GEANT4 tag $Name: geant4-09-03 $
29//
30// Class Description:
31//
32// Specifies the severity of G4Exception
33//
34// FatalException
35// Error is severe or it happens at the initialization time.
36// Program should be aborted and core dump will be generated.
37//
38// FatalErrorInArgument
39// Fatal error caused by most likely the mis-use of interfaces
40// by the user's code. Program should be aborted and core dump
41// will be generated.
42//
43// RunMustBeAborted
44// Error happens at initialization of a run (ex. at the
45// moment of closing geometry), or some unpleasant situation
46// occurs during the event loop. Current run will be aborted
47// and the application returns to "Idle" state.
48//
49// EventMustBeAborted
50// Error happens during tracking a particle. The event currently
51// being processed should be aborted, run will not be aborted.
52//
53// JustWarning
54// Just display messages.
55//
56
57#ifndef G4ExceptionSeverity_H
58#define G4ExceptionSeverity_H 1
59
60enum G4ExceptionSeverity
61 { FatalException,
62 FatalErrorInArgument,
63 RunMustBeAborted,
64 EventMustBeAborted,
65 JustWarning };
66
67#endif
68
Note: See TracBrowser for help on using the repository browser.