Catch Exception Dialog
The Catch Exception Dialog is displayed from the
Exception menu in the Menu Bar.
The Catch Exception Dialog allows the User to specify the class name of a Java
exception to be caught in the debugger (that is suspend the target JVM)
when the exception is thrown in the target JVM.
This dialog is invoked from
the Exceptions Menu
in the menu bar, to specify a new exception to be caught in the debugger.
This dialog is also invoked from the Exceptions Panel,
to edit the properties of an already specified exception to be caught in the debugger.
Exception events are displayed in the Events Panel.
fields
- Java Exception Class - the class name (including package names) of the Java exception to catch.
The combo's drop down list maintains a history of previous entries that the User can select from.
By default, all thrown exceptions of the specified Java Exception Class,
will be caught in the debugger, causing execution of the target to suspend.
Optionally, use the following text field and list to filter out the specified
Java Exception Class when thrown from locations you are not interested in.
Filter the Exception when thrown from locations in the following Classes:
- Include Classes [optional] -
catch in the debugger the above specified Java Exception Class when thrown
from locations in the class or classes specified in the following text field (which can be blank).
- Exclude Classes [optional] -
do not catch in the debugger the above specified Java Exception Class when thrown
from locations in the following list of classes (which can be empty).
Each row in the list represents an exception exclude. Standard Java classes are displayed in blue.
buttons
- Add... - displays the Add Exception Exclude Dialog where the User
can add a new exception exclude.
- Delete - deletes the selected (in the list)
exclude from the excludes list.
- Delete All... - deletes all the
excludes from the excludes list. A confirmation dialog will be displayed.
- OK - The specified exception (with any specified exception includes or excludes)
will be added (or modified) to the list of debugger exceptions in the Exceptions Panel
and closes the dialog.
If there is an error, an error message dialog will be displayed.
- Cancel - closes the dialog without
specifying an exception to catch.
Hitting the Escape key also closes the dialog.
- Help - displays this Help.
©2001-2010. debugtools.com LLC. All rights reserved.