catch multiple-primaryKey Exceptions in Database