[vtkusers] Re: Catching vtkError in python
    Charl P. Botha 
    c.p.botha at ewi.tudelft.nl
       
    Sun Aug  3 10:16:30 EDT 2003
    
    
  
Charl P. Botha wrote:
> The VTK Python observer-based error handling doesn't follow this 
> pattern.  If you add an ErrorEvent observer to an object, and that 
> observer (Python callable object) has a valid CallDataType attribute, it 
> will be called with the errormessage as parameter.  Please see the 
> attached example.  You need a relatively recent CVS for this, as I only 
> committed it quite a while after the posting you quote above.
Whoops, that was an old and incorrect example.  With this mail, the 
correct one.
-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: errorTest.py
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030803/29249bce/attachment.asc>
    
    
More information about the vtkusers
mailing list