Save the data correctly against the exception