ATLAS Offline Software
Loading...
Searching...
No Matches
trfExceptions.py
Go to the documentation of this file.
1# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
3
7
8import logging
9msg = logging.getLogger(__name__)
10
11
12
13
14class TransformException(Exception):
15 def __init__(self, errCode, errMsg):
16 self._errCode = errCode
17 self._errMsg = errMsg
18 super().__init__ (errCode, errMsg)
19
20 def __str__(self):
21 return "%s (Error code %d)" % (self._errMsg, self._errCode)
22
23 @property
24 def errCode(self):
25 return self._errCode
26
27 @property
28 def errMsg(self):
29 return self._errMsg
30
31
33 @errMsg.setter
34 def errMsg(self, value):
35 self._errMsg = value
36
37
38
42
43class TransformSetupException(TransformException):
44 pass
45
46
50
54
58
62
66
70
74
78
82
86
90
Exception used by configuration via AMI tags.
Group of argument based exceptions.
Base class for transform exceptions.
Base class for execution exceptions.
Exception for problems finding the path through the graph.
Exception class for validation failures detected by parsing logfiles.
Base class for file merging exceptions.
Exception used by metadata functions.
Exception used when the job wants to signal that it should get manual intervention at Tier-0.
Exception used by time limited executions.