I don't know why the first exception did not want to be added to my Arraylist?