<div dir="ltr"><div><div>Hello<br><br></div>I supose it's kind of obvious, but why would catch not work ? you should be able to catch your library exception in your filter.<br><br></div>Regards,<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div>
<br><div class="gmail_quote">On Fri, May 13, 2016 at 2:39 PM, Ellon Paiva <span dir="ltr"><<a href="mailto:ellonpaiva@gmail.com" target="_blank">ellonpaiva@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br>
<br>
I have a plug-in for paraview that wraps filters from an specific library, and these filters that may throw exceptions when if not configured properly (example, if the input data doesn't have some fields). I've been looking for a way to catch these exceptions inside the plug-in and inform paraview about the error/problem, like for example showing the error information in the paraview error window, but I couldn't find an explanation of how to do that. Could anyone explain me how to do that or show an example of code for that?<br>
<br>
Regards,<br>
Ellon<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
</blockquote></div><br></div>