Are you sure a FileNotFoundException is thrown? (Have you verified it).