ATLAS Offline Software
Tools
PyJobTransforms
python
trfExceptions.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
2
3
7
8
import
logging
9
msg = logging.getLogger(__name__)
10
11
12
13
14
class
TransformException
(Exception):
15
def
__init__
(self, errCode, errMsg):
16
self.
_errCode
= errCode
17
self.
_errMsg
= errMsg
18
19
def
__str__
(self):
20
return
"%s (Error code %d)"
% (self.
_errMsg
, self.
_errCode
)
21
22
@property
23
def
errCode
(self):
24
return
self.
_errCode
25
26
@property
27
def
errMsg
(self):
28
return
self.
_errMsg
29
30
32
@errMsg.setter
33
def
errMsg
(self, value):
34
self.
_errMsg
= value
35
36
37
38
class
TransformArgException
(
TransformException
):
39
pass
40
41
42
class
TransformSetupException(TransformException):
43
pass
44
45
46
class
TransformLogfileException
(
TransformException
):
47
pass
48
49
50
class
TransformValidationException
(
TransformException
):
51
pass
52
53
54
class
TransformReportException
(
TransformException
):
55
pass
56
57
58
class
TransformLogfileErrorException
(
TransformValidationException
):
59
pass
60
61
62
class
TransformExecutionException
(
TransformException
):
63
pass
64
65
66
class
TransformMergeException
(
TransformExecutionException
):
67
pass
68
69
70
class
TransformGraphException
(
TransformExecutionException
):
71
pass
72
73
74
class
TransformInternalException
(
TransformException
):
75
pass
76
77
78
class
TransformTimeoutException
(
TransformException
):
79
pass
80
81
82
class
TransformMetadataException
(
TransformException
):
83
pass
84
85
86
class
TransformAMIException
(
TransformException
):
87
pass
88
89
91
class
TransformNeedCheckException
(
TransformException
):
92
pass
93
94
python.trfExceptions.TransformNeedCheckException
Exception used when the job wants to signal that it should get manual intervention at Tier-0.
Definition:
trfExceptions.py:91
python.trfExceptions.TransformArgException
Group of argument based exceptions.
Definition:
trfExceptions.py:38
python.trfExceptions.TransformException.__init__
def __init__(self, errCode, errMsg)
Definition:
trfExceptions.py:15
python.trfExceptions.TransformException.errCode
def errCode(self)
Definition:
trfExceptions.py:23
python.trfExceptions.TransformExecutionException
Base class for execution exceptions.
Definition:
trfExceptions.py:62
python.trfExceptions.TransformLogfileException
Logfile exceptions.
Definition:
trfExceptions.py:46
python.trfExceptions.TransformMergeException
Base class for file merging exceptions.
Definition:
trfExceptions.py:66
python.trfExceptions.TransformAMIException
Exception used by configuration via AMI tags.
Definition:
trfExceptions.py:86
python.trfExceptions.TransformInternalException
Transform internal errors.
Definition:
trfExceptions.py:74
python.trfExceptions.TransformValidationException
Group of validation exceptions.
Definition:
trfExceptions.py:50
python.trfExceptions.TransformTimeoutException
Exception used by time limited executions.
Definition:
trfExceptions.py:78
python.trfExceptions.TransformException._errMsg
_errMsg
Definition:
trfExceptions.py:17
python.trfExceptions.TransformMetadataException
Exception used by metadata functions.
Definition:
trfExceptions.py:82
python.trfExceptions.TransformException.errMsg
def errMsg(self)
Definition:
trfExceptions.py:27
python.trfExceptions.TransformException
Base class for transform exceptions.
Definition:
trfExceptions.py:14
python.trfExceptions.TransformLogfileErrorException
Exception class for validation failures detected by parsing logfiles.
Definition:
trfExceptions.py:58
python.trfExceptions.TransformReportException
Group of validation exceptions.
Definition:
trfExceptions.py:54
python.trfExceptions.TransformException.__str__
def __str__(self)
Definition:
trfExceptions.py:19
python.trfExceptions.TransformGraphException
Exception for problems finding the path through the graph.
Definition:
trfExceptions.py:70
python.trfExceptions.TransformException._errCode
_errCode
Definition:
trfExceptions.py:16
Generated on Sun Dec 22 2024 21:20:41 for ATLAS Offline Software by
1.8.18