Back to index

python-weblib  1.3.9
Public Member Functions | Public Attributes
pyweblib.forms.ContentLengthExceeded Class Reference
Inheritance diagram for pyweblib.forms.ContentLengthExceeded:
Inheritance graph
Collaboration diagram for pyweblib.forms.ContentLengthExceeded:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __str__
def html

Public Attributes


Detailed Description

Overall length of input data too large.

contentLength         received content length
maxContentLength      maximum valid content length

Definition at line 687 of file

Constructor & Destructor Documentation

def pyweblib.forms.ContentLengthExceeded.__init__ (   self,

Reimplemented from pyweblib.forms.FormException.

Definition at line 695 of file

00696   def __init__(self,contentLength,maxContentLength):
00697     self.contentLength = contentLength
    self.maxContentLength = maxContentLength

Member Function Documentation

Definition at line 698 of file

00699   def __str__(self):
00700     return 'Input length of %d bytes exceeded the maximum of %d bytes.' % (
00701       self.contentLength,self.maxContentLength
00702     )

def pyweblib.forms.FormException.html (   self) [inherited]

Definition at line 660 of file

00661   def html(self):
00662     return escapeHTML(str(self))

Here is the call graph for this function:

Member Data Documentation

Definition at line 657 of file

Definition at line 696 of file

Definition at line 697 of file

The documentation for this class was generated from the following file: