Issue #2 Added a meaningful exception when the data-name member is undefined