changed caught exception