Update Table.java

If the error occurred, the data is not deleted, but not saved.