Java Reference
In-Depth Information
2. When the Find dialog box is displayed, type throw new Exception in
the Find what text box. Verify that the Text option button and Match
case checkbox in the Conditions area and the Down option button in
the Direction area are selected. Click the Mark All button. Click the Close
button.
All lines with occurrences of the text, throw new Exception, are bookmarked
with a triangle next to the line number (Figure 10-27). TextPad automati-
cally moves the insertion point to the first bookmarked line.
bookmarked
lines
FIGURE 10-27
insertion
point
OTHER WAYS
Each occurrence of the text, throw new Exception, is located and
bookmarked in the source code. The code in each bookmarked line must
be modified so that an exception generates an exception of the proper type.
After the code is modified, the bookmark indicating the line where the
original text was found should be cleared. The following steps change the
code and toggle the bookmark off so it no longer displays.
1. Press ALT + S , F
2. Press F5
 
Search WWH ::




Custom Search