Summary of Exceptions
Code Samples
Table 44 lists the code samples used in this chapter and where you can find the code online and on the CD that accompanies this book.
Code Sample |
CD Location |
Online Location |
---|---|---|
ListOfNumbers.java (page 246) |
JavaTutorial/essential/exceptions/example-1dot1/ListOfNumbers.java |
http://java.sun.com/docs/books/tutorial/essential/exceptions/example-1dot1/ListOfNumbers.java |
ListOfNumbersWO-Handler.java [a] (page 246) |
JavaTutorial/essential/exceptions/example-1dot1/ListOfNumbersWOHandler.java |
http://java.sun.com/docs/books/tutorial/essential/exceptions/example-1dot1/ListOfNumbersWOHandler.java |
[a] This version of ListOfNumbers.java does not have a handler and will not compile, by design.
Note
The section Common Problems and Their Solutions (page 391) contains solutions to common problems Tutorial readers have encountered.