[GREENFOOT-679] SoundExceptionHandler.handleLineUnavailableException needs to work differently
The method SoundExceptionHandler.handleLineUnavailableException runs on the debug VM, and currently it shows a Swing dialog. This is not a good idea any more as that process doesn't run any GUI. We could get the delegate it calls to send a message to the server VM (or use a special breakpoint). However, I remember that when this used to crop up regularly on Linux, the dialog was pretty annoying anyway. I propose we instead switch it to print out to the System.err console like the neighbouring handleBlahException methods.
After this is done, GreenfootUtil.displayMessage can be removed, as can GreenfootUtilDelegate.displayMessage.
Issue metadata
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.5.0