• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

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

 
Greenhorn
Posts: 6
IntelliJ IDE Oracle Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chapter 6 ■ Exceptions and Assertions
Rethrowing Exceptions topic:
"It is a common pattern to log and then throw the same exception. Suppose that we have a
method that declares two checked exceptions:
public void parseData() throws SQLException, DateTimeParseException {}"
but DateTimeParseException is unchecked exception
 
Ruslan Rakhmedov
Greenhorn
Posts: 6
IntelliJ IDE Oracle Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chapter 6 ■ Exceptions and Assertions
Exam Essentials topic:
"Determine if an exception is checked or unchecked. Checked exceptions
are in the Exception class hierarchy but not the RuntimeException hierarchy.
DateTimeParseException, IOException, and SQLException are common checked
exceptions."

Here DateTimeParseException also determinates as checked exception, but it is not
 
Marshal
Posts: 64654
225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check this link after 303 302 and before 306, where you will find that erratum is already recorded.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!