change in exception to java6 for some time