• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Errata for OCP: Oracle Certified Professional Java SE 8 Programmer II Study Guide - page 473

 
Ranch Hand
Posts: 90
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

At the end of the section Making Directories with createDirectory() and createDirectories() on page 473, I read:

...such as /bison, /bison/field, or /bison/pasture


I think it should be the following:

...such as /bison, /bison/field, or /bison/field/pasture



Regards,
Guillaume
 
author & internet detective
Posts: 42135
937
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Confirmed and logged. Good attention to detail!
 
Greenhorn
Posts: 4
1
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Didn’t want to start a new thread for this, and not sure it's really a “mistake” per se, but maybe worded a bit confusingly.

Page 473 for the "Making Directories with createDirectory() and createDirectories()" section, second paragraph:



“The directory-creation methods can throw the checked IOException, such as when the directory cannot be created or already exists”





In fact, if the directory already exists, only createDirectory() will throw an exception.  createDirectories() will not throw the exception in this situation.  It still does, of course, throw an IOException for other situations.
 
Jeanne Boyarsky
author & internet detective
Posts: 42135
937
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dave,
Welcome to CodeRanch!

Thanks for reporting that. I logged it on the private list Scott and I maintain of "things that could be clearer" so we can word that another way in our OCP 11 book!
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic