ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
python.trfExceptions.TransformException Class Reference

Base class for transform exceptions. More...

Inherits Exception.

Inherited by python.trfExceptions.TransformAMIException, python.trfExceptions.TransformArgException, python.trfExceptions.TransformExecutionException, python.trfExceptions.TransformInternalException, python.trfExceptions.TransformLogfileException, python.trfExceptions.TransformMetadataException, python.trfExceptions.TransformNeedCheckException, python.trfExceptions.TransformReportException, python.trfExceptions.TransformSetupException, python.trfExceptions.TransformTimeoutException, and python.trfExceptions.TransformValidationException.

Collaboration diagram for python.trfExceptions.TransformException:

Public Member Functions

def __init__ (self, errCode, errMsg)
 
def __str__ (self)
 
def errCode (self)
 
def errMsg (self)
 
def errMsg (self, value)
 Have a setter for errMsg as sometimes we want to update this with more information. More...
 

Private Attributes

 _errCode
 
 _errMsg
 

Detailed Description

Base class for transform exceptions.

Definition at line 14 of file trfExceptions.py.

Constructor & Destructor Documentation

◆ __init__()

def python.trfExceptions.TransformException.__init__ (   self,
  errCode,
  errMsg 
)

Definition at line 15 of file trfExceptions.py.

15  def __init__(self, errCode, errMsg):
16  self._errCode = errCode
17  self._errMsg = errMsg
18 

Member Function Documentation

◆ __str__()

def python.trfExceptions.TransformException.__str__ (   self)

Definition at line 19 of file trfExceptions.py.

19  def __str__(self):
20  return "%s (Error code %d)" % (self._errMsg, self._errCode)
21 

◆ errCode()

def python.trfExceptions.TransformException.errCode (   self)

Definition at line 23 of file trfExceptions.py.

23  def errCode(self):
24  return self._errCode
25 

◆ errMsg() [1/2]

def python.trfExceptions.TransformException.errMsg (   self)

Definition at line 27 of file trfExceptions.py.

27  def errMsg(self):
28  return self._errMsg
29 

◆ errMsg() [2/2]

def python.trfExceptions.TransformException.errMsg (   self,
  value 
)

Have a setter for errMsg as sometimes we want to update this with more information.

Definition at line 33 of file trfExceptions.py.

33  def errMsg(self, value):
34  self._errMsg = value
35 
36 

Member Data Documentation

◆ _errCode

python.trfExceptions.TransformException._errCode
private

Definition at line 16 of file trfExceptions.py.

◆ _errMsg

python.trfExceptions.TransformException._errMsg
private

Definition at line 17 of file trfExceptions.py.


The documentation for this class was generated from the following file:
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18