Eventually the authors will come around and see this, but it would be both good and permissible to post the whole question here, because of the arrangement we have with the authors.
Originally, the notion was that it is required to catch checked exception types and usually a mistake to catch unchecked (RuntimeException) ones.
But the Java community has moved away from that original simple notion, it is reasonably common to need to catch and handle certain sub-classes of RuntimeException, particularly when parsing input coming in as String types that may contain a format error.
Post the whole question and answer.
Lastly, always check the errata page for the book found at:
In OCA java 8 book Chapter 6 Exceptions Question 19 explanation.
"C, E. Option C is allowed because it is a more specific type than RuntimeException.
Option E is allowed because it isn’t in the same inheritance tree as RuntimeException. It’s not a good idea to catch either of these."
From this explanation i thought it's not okay to catch RuntimeException.