Throw Exception::DB::DuplicateEntry while editing.