Comments on the Tucker and Noonan book:
Page 159: The description given here for Java's Error class would actually be more appropriate for the VirtualMachineError class, which is just one subclass of Error.
Page 161: The description of
finally clauses is
not quite correct. Instead of saying he
is executed even if the
ends in a
exit, the correct
statement would have referred to a
System.exit method, on the other hand, causes the entire
virtual machine to exit, without executing
Page 164: Section 6.5 mentions in passing that Java doesn't have any library methods for such jobs as reading in integers. This has in the meantime been rememdied by the addition of the class java.util.Scanner.
The code in Figure 6.5 responds to an IOException by printing a message and retrying the input. Don't follow this example! It is a sure way to have your program spew out the same message over and over again, as fast as the screen can display them, if ever confronted by a input error.
Page 167: The definition in the footnote at the bottom of this page is inapporopriate to how the word "client" is used here.