SCJP 5 & 6, SCWCD 5, SCBCD 5
JVM thrown Exceptions are also known as "unchecked Exceptions"
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Originally posted by Stan James:
I'll have to think longer about "JVM exceptoins are unchecked" but I'm sure you can't say the converse: "unchecked exceptions are JVM exceptions" is not true. I make my own and throw and catch em all the time.
SCJP 5 & 6, SCWCD 5, SCBCD 5
Can't get the meaning of making your own unchecked Exception and then catching them.. Why not to directly go with checked ones if you think to put them in a try/catch block? Isn't this a little like a "dangerous obfuscating" solution? Or did I misunderstood what you wanted to say?
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Originally posted by Stan James:
There is a school of thought that checked exceptions were not such a great idea to start with. After all, many other languages get along fine without them. Some people use unchecked exceptions when they can. I've tried it in a couple systems where it happened to work out quite nicely but I haven't tried to convert my overall style to unchecked exceptions.
SCJP 5 & 6, SCWCD 5, SCBCD 5