CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
errors.NoMoreRetriesException Class Reference
Inheritance diagram for errors.NoMoreRetriesException:
Exception

Public Member Functions

def __init__ (self, retry_limit)
 
def __str__ (self)
 

Public Attributes

 retry_limit
 

Detailed Description

Definition at line 19 of file errors.py.

Constructor & Destructor Documentation

◆ __init__()

def errors.NoMoreRetriesException.__init__ (   self,
  retry_limit 
)

Definition at line 20 of file errors.py.

20  def __init__(self, retry_limit):
21  self.retry_limit = retry_limit
22 
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ __str__()

def errors.NoMoreRetriesException.__str__ (   self)

Definition at line 23 of file errors.py.

References errors.NoMoreRetriesException.retry_limit.

Referenced by edmStreamStallGrapher.Point.__repr__(), BeautifulSoup.Tag.__repr__(), BeautifulSoup.Tag.__unicode__(), and BeautifulSoup.Tag.prettify().

23  def __str__(self):
24  return "Ran out of retries for contacting the server, where the limit was %d" % self.retry_limit
25 
26 # decorator to check response for error messages - if it contains an error message, throw the appropriate exception

Member Data Documentation

◆ retry_limit

errors.NoMoreRetriesException.retry_limit

Definition at line 21 of file errors.py.

Referenced by errors.NoMoreRetriesException.__str__().