Tim is a Software Engineer with Adapt Technologies in Pasadena, CA.
He's been developing Java software since 1996, and holds a BS
in Computer Science and an MS in Software Engineering from
Kansas State University. Besides programming, he enjoys poker and skiing.
Try, catch, log, or return null? The Java language gives you many options for dealing with exceptions, and with them, many ways to shoot yourself in the foot. In this article, Tim McCune looks at the antipatterns--bad solutions to common problems--found in Java exception-handling code.