Added missing Java expection classes.