This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exceptions

 
Higgledy Smith
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On page 382 of the Sierra/Bates SCJP 6.0 book, a table with exceptions and errors is presented.

I am trying to figure out why the authors use the phrases "Typically Thrown By tthe JVM"? and "Typically Thrown Programmatically" Do the authors refrain from the words Checked and Unchecked because this table also includes Errors?

Thanks,
Higgledy
 
Ruben Soto
Ranch Hand
Posts: 1032
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Higgledy Smith wrote:On page 382 of the Sierra/Bates SCJP 6.0 book, a table with exceptions and errors is presented.

I am trying to figure out why the authors use the phrases "Typically Thrown By tthe JVM"? and "Typically Thrown Programmatically" Do the authors refrain from the words Checked and Unchecked because this table also includes Errors?

Thanks,
Higgledy

Hi,

What kind of exceptions (checked or unchecked) do you think the JVP typically throws? How about exceptions that are thrown programatically? I think they are completely different things. For example, I believe that all the exceptions shown in the table that you mention are unchecked (yet some are typically thrown by the JVM, and some are typically thrown programatically.)
 
Higgledy Smith
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ruben Soto wrote:
Higgledy Smith wrote:On page 382 of the Sierra/Bates SCJP 6.0 book, a table with exceptions and errors is presented.

I am trying to figure out why the authors use the phrases "Typically Thrown By tthe JVM"? and "Typically Thrown Programmatically" Do the authors refrain from the words Checked and Unchecked because this table also includes Errors?

Thanks,
Higgledy

Hi,

What kind of exceptions (checked or unchecked) do you think the JVP typically throws? How about exceptions that are thrown programatically? I think they are completely different things. For example, I believe that all the exceptions shown in the table that you mention are unchecked (yet some are typically thrown by the JVM, and some are typically thrown programatically.)




Thanks. I never looked at that table like you stated.



 
Ruben Soto
Ranch Hand
Posts: 1032
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it's easy to fall into the temptation, but they are completely different concepts.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic