[vtkusers] VTK error handling

David Doria daviddoria+vtk at gmail.com
Thu Aug 26 07:49:08 EDT 2010


On Thu, Aug 26, 2010 at 7:28 AM, Jothy <jothybasu at gmail.com> wrote:

> Why don't you use a if statement to find out whether the file really exists
> are not?
>
> The try to read it.
>
> Jothy
>
>
Jothy, I think he wants to put that logic inside the filter and the find out
if it failed outside the filter.

John, is this what you're looking for?
http://www.vtk.org/Wiki/VTK/Examples/Developers/FailedFilter

I think you just didn't call SetErrorCode :)

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100826/c4718397/attachment.htm>


More information about the vtkusers mailing list