Exception generated by one method and caught by another

http://ideone.com/hB9lTl