Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes
CMFPlone.tests.dummy.Raiser Class Reference
Inheritance diagram for CMFPlone.tests.dummy.Raiser:
Inheritance graph
[legend]
Collaboration diagram for CMFPlone.tests.dummy.Raiser:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __call__

Static Public Attributes

 exception = Error

Detailed Description

Raises the stored exception when called

Definition at line 129 of file dummy.py.


Constructor & Destructor Documentation

def CMFPlone.tests.dummy.Raiser.__init__ (   self,
  exception = None 
)

Definition at line 134 of file dummy.py.

00134 
00135     def __init__(self, exception=None):
00136         if exception is not None:
00137             self.exception = exception


Member Function Documentation

def CMFPlone.tests.dummy.Raiser.__call__ (   self,
  args,
  kw 
)

Definition at line 138 of file dummy.py.

00138 
00139     def __call__(self, *args, **kw):
00140         raise self.exception
00141 

Here is the caller graph for this function:


Member Data Documentation

Definition at line 132 of file dummy.py.


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