changed exceptions on HDMDevice due to efficiency to runtime versions