kendzi3d
kendzi3d copied to clipboard
Reason for ExceptionHandler
Is there any special reason you are adding a global exception handler that prints the exceptions to the console instead of displaying a JOSM error dialog?
Maybe there was some reason in the past but don't remember it now. I think some exceptions OpenGl were leaking but now I'm not sure.
If you don't need it any more, you can simply disable it. I wrote a new exception queue for JOSM that will allow you to continue using it even if there are OpenGL exceptions.
In your catch block, you can add a BugReport.intercept(exception).warn()
to display a (disableable) warning to the user.