Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Printed | Page 25 paragraph 1, line 3 |
because the basic class of Throwable extends ... Note from the Author or Editor: |
Wang JiangPing | Jan 24, 2011 | Sep 09, 2011 |
Printed | Page 26 paragraph 2, line 5 |
"... as part of the signature of that exception", "exception" should be "method". Note from the Author or Editor: |
Wang | Jan 24, 2011 | Sep 09, 2011 |
Printed | Page 26 paragraph 6, line 4 |
"... the exception must deal with the exception", the first "exception" should be "method". Note from the Author or Editor: |
Wang JiangPing | Jan 24, 2011 | Sep 09, 2011 |
Page 35 1st paragraph |
If the way in which you are going to respond to an exception is tied not just to the exception but to the context in which the method raising the exception was called, the style of code in which each call is wrapped in a try catch clause may be needed. Note from the Author or Editor: |
Kristen | Apr 26, 2010 | Sep 09, 2011 | |
Printed | Page 51 paragraph 3, line 6 |
"foo->bar" should be "fooptr->bar". Note from the Author or Editor: |
Wang JiangPing | Jan 24, 2011 | Sep 09, 2011 |
Printed | Page 55 paragraph 1, line 5 |
"Chapter 7" should be "Chapter 8". Note from the Author or Editor: |
Wang JiangPing | Jan 24, 2011 | Sep 09, 2011 |
Printed | Page 57 example code |
In text you explain that you don't have a readIn.close(); in the constructor but only in the finalize method. But in the example code you have a readIn.close(); right after the object has been read. Note from the Author or Editor: |
Andor | Feb 14, 2011 | Sep 09, 2011 |
Printed, PDF | Page 95 1st paragraph |
In text: Note from the Author or Editor: |
Josivan de Souza | Nov 05, 2010 | Sep 09, 2011 |
Printed | Page 98 paragraph 2, line 4 |
"... returned from the hasNext() method ...", "hasNext()" should be "next()" Note from the Author or Editor: |
Wang JiangPing | Jan 24, 2011 | Sep 09, 2011 |
Page 104 footnote |
pg 104 (footnote) Note from the Author or Editor: |
Kristen | Apr 26, 2010 | Sep 09, 2011 | |
Page 107 1st paragraph |
So we will take the approach of saying that if a Player object does not fill a role, calling the get () method for that role on that Player object will return null. Note from the Author or Editor: |
Kristen | Apr 26, 2010 | Sep 09, 2011 | |
Printed, PDF | Page 110, 111 in a lot of paragraph |
All occurrences of Comparitor, would be Comparator. Note from the Author or Editor: |
Josivan de Souza | Nov 14, 2010 | Sep 09, 2011 |
Printed | Page 113 paragraph 2, line 1 |
"We start by creating a TreeSort object ...", "TreeSort" should be "TreeSet". Note from the Author or Editor: |
Wang JiangPing | Jan 24, 2011 | Sep 09, 2011 |
Page 123 2nd paragraph |
Any call to this method will need to be in a try catch block, with an exception handler supplied for the RemoteException. Note from the Author or Editor: |
Kristen | Apr 26, 2010 | Sep 09, 2011 | |
Printed | Page 123 paragraph 2, line 3 |
"(or a super-type ...", should it not be "sub-type"? Note from the Author or Editor: |
Wang JiangPing | Jan 24, 2011 | Sep 09, 2011 |
Printed | Page 149 paragraph 1, line 7 |
"... and the method finishes.", should it not be "the thread finishes"? Note that there is already a "Once the method is finished" in this sentence before. Note from the Author or Editor: |
Wang JiangPing | Jan 24, 2011 | Sep 09, 2011 |
Printed, PDF | Page 155 1st paragrapfh |
In line 2, reference of intanceof() is an error. Note from the Author or Editor: |
Josivan Pereira de Souza | Dec 11, 2010 | Sep 09, 2011 |
Printed | Page 169 5th-to-last line of code sample |
Source code is wrong. The text and comment for the JUnit test method say it will increment the number of at-bats by 10 to "ensure that each test case has the minimum number of at-bats." This line: Note from the Author or Editor: |
James Cook | Jul 01, 2010 | Sep 09, 2011 |
Printed | Page 169 paragraph 1, line 5 |
"HashTable" should be "Hashtable". Note from the Author or Editor: |
Wang JiangPing | Jan 24, 2011 | Sep 09, 2011 |