Select the Uncaught locations option to suspend execution when an exception of the same type as the breakpoint is thrown in an uncaught location.
This option can be changed in the Breakpoints View detail pane, with the Breakpoint Properties..., or by right-clicking an exception breakpoint.
Catching exceptions
Creating Exception Breakpoint Filters
Adding breakpoints
Removing breakpoints
Launching a Java program
Running and debugging