Geant4
9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ExceptionSeverity.hh
Go to the documentation of this file.
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$
28
//
29
// Class Description:
30
//
31
// Specifies the severity of G4Exception
32
//
33
// FatalException
34
// Error is severe or it happens at the initialization time.
35
// Program should be aborted and core dump will be generated.
36
//
37
// FatalErrorInArgument
38
// Fatal error caused by most likely the mis-use of interfaces
39
// by the user's code. Program should be aborted and core dump
40
// will be generated.
41
//
42
// RunMustBeAborted
43
// Error happens at initialization of a run (ex. at the
44
// moment of closing geometry), or some unpleasant situation
45
// occurs during the event loop. Current run will be aborted
46
// and the application returns to "Idle" state.
47
//
48
// EventMustBeAborted
49
// Error happens during tracking a particle. The event currently
50
// being processed should be aborted, run will not be aborted.
51
//
52
// JustWarning
53
// Just display messages.
54
//
55
56
#ifndef G4ExceptionSeverity_H
57
#define G4ExceptionSeverity_H 1
58
59
enum
G4ExceptionSeverity
60
{
FatalException
,
61
FatalErrorInArgument
,
62
RunMustBeAborted
,
63
EventMustBeAborted
,
64
JustWarning
};
65
66
#endif
67
G4ExceptionSeverity
G4ExceptionSeverity
Definition:
G4ExceptionSeverity.hh:60
JustWarning
@ JustWarning
Definition:
G4ExceptionSeverity.hh:64
FatalException
@ FatalException
Definition:
G4ExceptionSeverity.hh:60
FatalErrorInArgument
@ FatalErrorInArgument
Definition:
G4ExceptionSeverity.hh:61
RunMustBeAborted
@ RunMustBeAborted
Definition:
G4ExceptionSeverity.hh:62
EventMustBeAborted
@ EventMustBeAborted
Definition:
G4ExceptionSeverity.hh:63
geant4-v9.6.0
source
global
management
include
G4ExceptionSeverity.hh
Generated by
1.9.6