A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
Programmer Certification (SCJP/OCPJP)
Need help in Exceptions
Joined: Oct 26, 2007
Nov 26, 2007 03:11:00
Which are most typically thrown by an API developer or an application developer as opposed to being thrown by the JVM? (Choose all that apply.)
How to know whether the Exception is thrown by API developer or JVM
Joined: Mar 22, 2005
Nov 26, 2007 03:14:00
Ping & DNS, my free Android app for network diagnostics
Joined: Nov 15, 2007
Nov 26, 2007 05:19:00
I just asked a question almost about the same object.
There i asked if it is right to think of a JVM thrown exception as a RunTimeException and a programatically thrown exception as a checked exception.
If it is, then the correct answer is B and D.
And not C even though K & B in their book on
is typically thrown programatically. The JAVA API states that
I agree. Here's the link:
subject: Need help in Exceptions
RunTimeException or checked Exception?
Exception: Programmtically or by JVM?
Exceptions thrown programatically or by JVM?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014