Throw when failing to parse a constructor. Fixes issue 24348
(https://json.codeplex.com/workitem/24348)