# Using the Exceptions Window

Open the Exceptions window by choosing Debug -> Exceptions. Use the Exceptions window to tell the debugger how to handle exceptions generated in your code.

## Exceptions List

Scrolling list that shows the standard runtime exceptions. JDE automatically sets these standard runtime exceptions to break always, and each entry is listed alphabetically by package name.

## Command Buttons

Break on Uncaught.
  Changes the setting of the selected exception to "break on uncaught." When the exception is thrown, but not caught, the debugger stops your program and treats it as if you had hit a breakpoint.
Break Always.
  Changes the setting of the selected exception to "break always". When the exception is thrown, the debugger stops your program and treats it as if you had hit a breakpoint even if you have recovery code in your program.
Ignore.
  Changes the setting of the selected exception to "ignore". The debugger does not cause a breakpoint when the exception is thrown.
Show Source.
  Shows the source code of the selected exception in the source editor.
Add.
  Adds the exception you typed in the Exception box to the Exceptions list. The default setting will be break on uncaught.
Close.
  Closes the Exceptions window.

## Text Box

Exception
  Type the name of an exception you want to add to the exceptions list.
  Click Add to add the exception to the list. When you set an exception it will be set to break on uncaught by default.

See also:

  Adding an Exception