Should Java class exceptions always be checked?
Posted on: 06/02/2004 05:22 AM

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.




Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/should_java_class_exceptions_always_be_checked.html)