how to make a un-checked exception as a checked exception one.
Answers were Sorted based on User's Feedback
Answer / janardhan
If a client can reasonably be expected to recover from an
exception, make it a checked exception. If a client cannot
do anything to recover from the exception, make it an
unchecked exception.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / suvarna
Wrapping Checked Exceptions in Unchecked Exceptions
try {
// ... some code that could throw IOException or
RemoteException
} catch(Exception ex) {
throw new RuntimeException(ex.toString());
}
| Is This Answer Correct ? | 1 Yes | 2 No |
Difference between String and StringBuffer.
What is an abstract class and what is it’s purpose?
what is difference between perfom() & excute() ?
Explain about interthread communication and how it takes place in java?
What are format specifiers in java?
What do you mean by platform independence of Java?
What is Three tier architecture. Can anyone explain with a Ordinary web application Project? (JSP,Servlets,JAVA,DAO) ?
Why java is free from garbage values??
Define "Access specifiers" in java.
Is ResultSet class?
5 Answers Bally Technologies, TCS,
Why is stringbuffer called mutable?
static inner classes means..?