added additional potential exception codes for duplicate key