Welcome to our website
To take full advantage of all features you need to login or register. Registration is completely free and takes only a few seconds.
Should Java class exceptions always be checked?
Posted by Philipp Esselbach on: 06/02/2004 03:22 AM [ Print | 0 comment(s) ]
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.
