ATLAS Offline Software
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 
39  pass
40 
41 
42 class TransformSetupException(TransformException):
43  pass
44 
45 
47  pass
48 
49 
51  pass
52 
53 
55  pass
56 
57 
59  pass
60 
61 
63  pass
64 
65 
67  pass
68 
69 
71  pass
72 
73 
75  pass
76 
77 
79  pass
80 
81 
83  pass
84 
85 
87  pass
88 
89 
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