June 1, 2004

Should Java class exceptions always be checked?

Anonymous Reader writes "Most of the advice on the use of exceptions in the Java language suggests that checked exceptions should be preferred in any case where an exception conceivably might be caught. Recently, several prominent writers have started to come to the position that unchecked exceptions may have more of a place in good Java class design than previously thought. This article looks at the pros and cons of using unchecked exceptions."

Link: ibm.com/developerworks

Click Here!