Login  Register

Re: Is there a way to catch native exceptions so that the application won't crash ?

Posted by gouessej on Mar 10, 2019; 5:49pm
URL: https://forum.jogamp.org/Is-there-a-way-to-catch-native-exceptions-so-that-the-application-won-t-crash-tp4039586p4039593.html

GLException is a kind of unchecked exception derived from RuntimeException, some methods can throw those exceptions without having to declare "throws GLException". You can catch the exceptions in your GLEventListener, can't you?
Julien Gouesse | Personal blog | Website