removed deprecated exception