rgrds,
Khushhal
rgrds,
Khushhal
rgrds,
Khushhal
"I'm not back." - Bill Harding, Twister
What does it mean for an exception to be thrown by JVM or thrown progammaticaly. I thought of them as "Checked exceptions thrown progamatically and Unchecked exceptions are thrown by JVM". But in chapter 5 of K&B, Page no.370, NumberFormatException and IllegalArgumentException are shown as thrown programatically but these are Runtime Exceptions. Please clerify ..
cmbhatt
rgrds,
Khushhal
If he has not done anything wrong in performing any logic..
I don't think still JVM can throw exception by it's own..
cmbhatt
rgrds,
Khushhal
.We can handle unchecked exceptions also if we know that a perticular piece of code can throw that exception and we do not want to stop execution in this scenario.In this case that exception will be called as thrown progamatically?
Originally posted by khushhal yadav:
But that is the programmer mistake, he should take care of all such things..
Originally posted by Riya Pant:
In this case, how can we draw a line between two JVM thrown and Programatically thrown exceptions.
cmbhatt
But I want know, if I have taken care of all these things..
JVM by it's own choice can't throw exception..
cmbhatt
The only cure for that is hours of television radiation. And this tiny ad:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
|