Select the Suspend on Subclass of this Exception option to suspend execution when subclasses of the exception type are encountered.
For example, if an exception breakpoint for RuntimeException is configured to suspend on subclasses, it will also be triggered by a NullPointerException.
This option can be changed with the
Breakpoint Properties..., or by
right-clicking a breakpoint.
Launching a Java program
Running and debugging
Add Java exception breakpoint