Use proper exception handling in UUIDTranslator.