[Paraview-developers] Handling exceptions from within a Plug-in

Ellon Paiva ellonpaiva at gmail.com
Fri May 13 08:39:36 EDT 2016


Hello all,

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?

Regards,
Ellon


More information about the Paraview-developers mailing list