• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

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

 
Ranch Hand
Posts: 44
2
  • 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: 40392
821
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: 40392
821
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!
reply
    Bookmark Topic Watch Topic
  • New Topic