Community
Participate
Working Groups
I tried to add a breakpoint to catch java.lang.OutOfMemoryError, but the Add Java Exception Breakpoint dialog won't let me. It says that the selected type is not a subclass of Throwable, but it most certainly is... So as a quick experiment, I looked at some of the *Exception* classes that are displayed in the list in the dialog, and it appears that OutOfMemoryError isn't the only one that is incorrectly labelled as "not a subclass of Throwable" - there's a whole bunch of them. I think there's a bug in the code that checks whether Throwable is a superclass.
Created attachment 8472 [details] Add Java Exception Breakpoint dialog In case it helps, here's a snap of the dialog not letting me add OutOfMemoryError. Forgot to say I'm running in eclipse build 200403100800 on WinXP.
*** This bug has been marked as a duplicate of 53095 ***