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

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, retry_limit)
Definition: errors.py:20

Member Function Documentation

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

errors.NoMoreRetriesException.retry_limit

Definition at line 21 of file errors.py.

Referenced by errors.NoMoreRetriesException.__str__().