I am using the vtkFacetReader class (which I have recently discussed in another post) to read FACET files and load them into the renderer. Currently, when the reader encounters an error a new vtkOutputWindow is opened that says:
ERROR: In vtkFacetReader.cxx, line XXX vtkFacetReader (000001C3D0DA3B90): (Insert error description here)
After the error occurs, it becomes impossible to load files without restarting the application. If possible, I would like to catch these errors and handle them myself so that the application can continue to work and the second vtkOutputWindow does not open.