java exception fix