WINDUP-167: Check for duplicate @TypeValues

Yes. Expecting a narrower exception type is probably a good idea here.