If possible, I'd like to catch java.lang.InternalError (and it's cousins). The following error is produced when the Unix DISPLAY variable is set incorrectly:
java.lang.InternalError: Can't connect to X11 server......
followed by a stacktrack.
Better if my application could report something cleaner to the user.
Any ideas on how to catch this??? catch(Exception) doesn't seem