CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
errors.NoMoreRetriesException Class Reference
Inheritance diagram for errors.NoMoreRetriesException:
Exception

Public Member Functions

def __init__
 
def __str__
 

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 
21  def __init__(self, retry_limit):
22  self.retry_limit = retry_limit

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 
24  def __str__(self):
25  return "Ran out of retries for contacting the server, where the limit was %d" % self.retry_limit
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__().