This is wonderful forum, after login , when I clicked on Java/forms , there is so much information flow between techies about
java and certifications…. I felt how I missed till now….
My question is related to exceptions, I read, “Use checked exceptions when the client code can take some
useful recovery action based on information in exception. Use unchecked exception when client code cannot do anything. For
example, convert your SQLException into another checked exception if the client code can recover from it and convert your
SQLException into an unchecked (i.e. RuntimeException) exception, if the client code cannot do anything about it”
Can I have example on how to convert
1. checked exception to another checked exception
2. checked exception to unchecked exception
Thanks in advance…..
-Babu