<div><div class="gmail_quote">On Thu, Aug 26, 2010 at 7:28 AM, Jothy <span dir="ltr">&lt;<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr">Why don&#39;t you use a if statement to find out whether the file really exists are not?<br><br>The try to read it.<br><br>Jothy<br></div><div dir="ltr"><br></div></blockquote><div><br></div>Jothy, I think he wants to put that logic inside the filter and the find out if it failed outside the filter.<div>
<br></div><div>John, is this what you&#39;re looking for?</div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Developers/FailedFilter">http://www.vtk.org/Wiki/VTK/Examples/Developers/FailedFilter</a></div><div><br></div>
<div>I think you just didn&#39;t call SetErrorCode :)</div><div><br clear="all">Thanks,<br><br></div><div>David </div></div></div>