This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Exceptions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Exceptions" Watch "Exceptions" New topic
Author

Exceptions

Higgledy Smith
Ranch Hand

Joined: Mar 07, 2006
Posts: 192
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

Joined: Dec 16, 2008
Posts: 1032
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.)


All code in my posts, unless a source is explicitly mentioned, is my own.
Higgledy Smith
Ranch Hand

Joined: Mar 07, 2006
Posts: 192
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

Joined: Dec 16, 2008
Posts: 1032
Yes, it's easy to fall into the temptation, but they are completely different concepts.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exceptions