Code example showing exception handling in Java - blog.dirtyread.pl