Re: Is there a way to catch native exceptions so that the application won't crash ?
Posted by Mohamed Abdelhameed on Mar 10, 2019; 2:51pm
URL: https://forum.jogamp.org/Is-there-a-way-to-catch-native-exceptions-so-that-the-application-won-t-crash-tp4039586p4039590.html
Thanks for replying ,
ok , that's true for that case , but i mentioned it just as an example ,
what i was asking about is that if there's a general way to catch exceptions thrown by openGL or jogl to prevent java application from crashing ,
suppose an end user was trying the application and due to some problem with GPU driver or a bug in the software an exception is thrown ,
should that exception crash the application without at least displaying error message to the user and give him a chance to save progress or send a log file to the developers for investigation ?