kendzi3d icon indicating copy to clipboard operation
kendzi3d copied to clipboard

Reason for ExceptionHandler

Open michaelzangl opened this issue 8 years ago • 2 comments

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?

michaelzangl avatar Aug 13 '16 20:08 michaelzangl

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.

kendzi avatar Aug 15 '16 14:08 kendzi

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.

michaelzangl avatar Aug 15 '16 14:08 michaelzangl