PLFM-2150

- Mask the ugly SQL DuplicateKeyException message with a more helpful one.