Exception raised in case a joboptions file can not be found
Definition at line 36 of file trferr.py.
◆ __init__()
def python.trferr.JobOptionsNotFoundError.__init__ |
( |
|
self, |
|
|
|
filename, |
|
|
|
message = None , |
|
|
|
error = 'ATH_JOP_NOTFOUND' |
|
) |
| |
Definition at line 38 of file trferr.py.
38 def __init__(self,filename,message=None,error='ATH_JOP_NOTFOUND'):
39 mess =
"JobOptions file %s not found" % filename
40 if message: mess +=
'. ' + message
41 TransformError.__init__(self,mess,error)
◆ __str__()
def python.trferr.TransformError.__str__ |
( |
|
self | ) |
|
|
inherited |
Definition at line 13 of file trferr.py.
14 header =
'%s: ' % self.error
15 msg = header + self.message
16 indent = os.linesep +
' '*len(header)
17 for n,v
in self.extras.
items():
18 msg +=
'%s%s=%s' % (indent,n,v)
◆ setError()
def python.trferr.TransformError.setError |
( |
|
self, |
|
|
|
error |
|
) |
| |
|
inherited |
Definition at line 21 of file trferr.py.
21 def setError(self,error):
23 self.args = (self.error,self.message)
◆ setMessage()
def python.trferr.TransformError.setMessage |
( |
|
self, |
|
|
|
message |
|
) |
| |
|
inherited |
Definition at line 25 of file trferr.py.
25 def setMessage(self,message):
26 self.message = message
27 self.args = (self.error,self.message)
◆ args
python.trferr.TransformError.args |
|
inherited |
◆ error
python.trferr.TransformError.error |
|
inherited |
◆ extras
python.trferr.TransformError.extras |
|
inherited |
◆ message
python.trferr.TransformError.message |
|
inherited |
The documentation for this class was generated from the following file: