[HD Pg 378, Sec. 10.4.0 - recognize-common-exception-classes]
Moderator: admin
-
- Posts: 95
- Joined: Sat Dec 26, 2015 6:37 pm
- Contact:
[HD Pg 378, Sec. 10.4.0 - recognize-common-exception-classes]
Besides the exceptions mentioned (here in 10.4.0), is there a (known concise reference) link to any/all known reports of other exceptions being seen on the exam presented maybe in a manner that is similar to page 358 ... like a "one stop shop" tree of all known exam exceptions? Although CharConversionException, FileNotFoundException, and EOFException were mentioned in the text and are real-world practical, are knowing these and their superclasses, and/or other non-10.4.0 exceptions important for the exam? (If so [again], what are you hearing regarding the known reports of exception exam complete tree look like to-date?) Is https://enthuware.com/downloads/Excepti ... ummary.pdf still current?
-
- Site Admin
- Posts: 10053
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: [HD Pg 378, Sec. 10.4.0 - recognize-common-exception-classes]
1. Yes, the exception summary document is still relevant and current. So is Section 10.4. If you know the material given in 10.4, you are good to go
2. No, CharConversionException, FileNotFoundException, and EOFException are not on the exam that is why the code listing in section 10.3.4 includes the comment: //assume that CharConversionException, FileNotFoundException, and EOFException extend IOException.
In the exam, you will not be required to answer question based on the knowledge of these exceptions. But using catch blocks correctly for a hierarchy of exceptions is on the exam and these exceptions are fairly well known (as compared to other standard subclasses of Exception) and are therefore good for explanatory purpose. In the exam, you may be required to know that IOException extends Exception but nothing more than that.
3. The tree of exceptions given in section 10.2 contains all the exceptions that you need to know about for the OCAJP 8 exam. Remember that, "knowing for the OCAJP 8 exam" basically just means that you need to know whether a given exception class extends Exception, RuntimeException, or Error. You don't have to worry about their constructors and methods.
2. No, CharConversionException, FileNotFoundException, and EOFException are not on the exam that is why the code listing in section 10.3.4 includes the comment: //assume that CharConversionException, FileNotFoundException, and EOFException extend IOException.
In the exam, you will not be required to answer question based on the knowledge of these exceptions. But using catch blocks correctly for a hierarchy of exceptions is on the exam and these exceptions are fairly well known (as compared to other standard subclasses of Exception) and are therefore good for explanatory purpose. In the exam, you may be required to know that IOException extends Exception but nothing more than that.
3. The tree of exceptions given in section 10.2 contains all the exceptions that you need to know about for the OCAJP 8 exam. Remember that, "knowing for the OCAJP 8 exam" basically just means that you need to know whether a given exception class extends Exception, RuntimeException, or Error. You don't have to worry about their constructors and methods.
If you like our products and services, please help us by posting your review here.
-
- Posts: 95
- Joined: Sat Dec 26, 2015 6:37 pm
- Contact:
-
- Posts: 95
- Joined: Sat Dec 26, 2015 6:37 pm
- Contact:
Re: [HD Pg 378, Sec. 10.4.0 - recognize-common-exception-classes]
So, I've been thinking about what prompted me to ask this question especially since I felt as if I knew the answer before asking the question because I have read other study guides (each author speaks in their "own" voice ). Although I must admit, I find this study guide speaks to me more in many ways due to all the very concrete and practical real world examples throughout the text, its "behind-the-rules" explanations, and not to mention the "this is how you code as a professional" nuggets throughout.
Nevertheless, I would like to see the text give "itself" more credit here:
?
Nevertheless, I would like to see the text give "itself" more credit here:
may possibly be perhapsThe exam expects you to know about a few exception classes that are included in the
Java standard library.
(or something to the effect of not being "required" to look outside this text, especially if this is one's one and only study guide)The exam expects you to know about a few exception classes that are included in the
Java standard library that are covered here.
?
-
- Site Admin
- Posts: 10053
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: [HD Pg 378, Sec. 10.4.0 - recognize-common-exception-classes]
Noted. Proposed as, "The Java standard library contains a huge number of exception classes but the exam expects you to know about only a few of them, which I will cover now. "
thank you for your feedback!
thank you for your feedback!
If you like our products and services, please help us by posting your review here.
-
- Posts: 95
- Joined: Sat Dec 26, 2015 6:37 pm
- Contact:
-
- Posts: 202
- Joined: Mon Apr 02, 2018 8:40 am
- Contact:
Re: [HD Pg 378, Sec. 10.4.0 - recognize-common-exception-classes]
There are 2 sentences that I feel are the oposite in the meaning
and then we haveHowever, there is no Exception that is thrown exclusively by the JVM.
Is there something missing here?Common Exceptions that are usually thrown by the JVM
-
- Site Admin
- Posts: 10053
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: [HD Pg 378, Sec. 10.4.0 - recognize-common-exception-classes]
No, nothing is missing here. Exclusive and usually are the operative words in the two sentences that you have quoted.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: Google [Bot] and 44 guests