Throw a ConflictException on conflict validations.