Exception API’s modified