Originator: NO
try { throw Gdk::PixbufError(NULL); // <---- new code img = Gdk::Pixbuf::create_from_file(fileName); } catch (Gdk::PixbufError e) { g_message("Gdk::PixbufError in SVGPreview::showImage"); return; }
This does trigger the catcher. So the catcher works.
Originator: NO
try { r(NULL) ; // <---- new code :create_ from_file( fileName) ;
g_message( "Gdk::PixbufErr or in SVGPreview: :showImage" );
throw Gdk::PixbufErro
img = Gdk::Pixbuf:
}
catch (Gdk::PixbufError e)
{
return;
}
This does trigger the catcher. So the catcher works.