Geant4
11.2.2
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
// G4ExceptionSeverity
27
//
28
// Description:
29
//
30
// Specifies the severity of G4Exception
31
//
32
// FatalException
33
// Error is severe or it happens at the initialization time.
34
// Program should be aborted and core dump will be generated.
35
//
36
// FatalErrorInArgument
37
// Fatal error caused by most likely the mis-use of interfaces
38
// by the user's code. Program should be aborted and core dump
39
// will be generated.
40
//
41
// RunMustBeAborted
42
// Error happens at initialization of a run (ex. at the
43
// moment of closing geometry), or some unpleasant situation
44
// occurs during the event loop. Current run will be aborted
45
// and the application returns to "Idle" state.
46
//
47
// EventMustBeAborted
48
// Error happens during tracking a particle. The event currently
49
// being processed should be aborted, run will not be aborted.
50
//
51
// JustWarning
52
// Just display messages.
53
//
54
// IgnoreTheIssue
55
// No message generated.
56
//
57
58
// Author: M.Asai, 19 August 2002
59
// 05 September 2023 : IgnoreTheIssue added
60
//
61
// --------------------------------------------------------------------
62
#ifndef G4ExceptionSeverity_hh
63
#define G4ExceptionSeverity_hh 1
64
65
enum
G4ExceptionSeverity
66
{
67
FatalException
,
68
FatalErrorInArgument
,
69
RunMustBeAborted
,
70
EventMustBeAborted
,
71
JustWarning
,
72
IgnoreTheIssue
73
};
74
#endif
G4ExceptionSeverity
G4ExceptionSeverity
Definition
G4ExceptionSeverity.hh:66
JustWarning
@ JustWarning
Definition
G4ExceptionSeverity.hh:71
FatalException
@ FatalException
Definition
G4ExceptionSeverity.hh:67
FatalErrorInArgument
@ FatalErrorInArgument
Definition
G4ExceptionSeverity.hh:68
RunMustBeAborted
@ RunMustBeAborted
Definition
G4ExceptionSeverity.hh:69
EventMustBeAborted
@ EventMustBeAborted
Definition
G4ExceptionSeverity.hh:70
IgnoreTheIssue
@ IgnoreTheIssue
Definition
G4ExceptionSeverity.hh:72
geant4-v11.2.2
source
global
management
include
G4ExceptionSeverity.hh
Generated by
1.12.0