163 references to ExceptionHelpers
PresentationFramework (163)
MS\Internal\WindowsRuntime\Generated\Windows.Data.Text.cs (88)
334global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.CreateWithLanguage_0(ThisPtr, MarshalString.GetAbi(__language), out __retval)); 477global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 478return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 496global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 497return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 515global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 516return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 542global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.get_AlternateText_1(ThisPtr, out __retval)); 557global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.get_NormalizationFormat_2(ThisPtr, out __retval)); 567global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.get_SourceTextSegment_0(ThisPtr, out __retval)); 649global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 650return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 671global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 672return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 690global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 691return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 709global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 710return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 728global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 729return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 747global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 748return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 766global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 767return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 785global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 786return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 804global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 805return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 823global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 824return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 842global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 843return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 861global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 862return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 880global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 881return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 899global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 900return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 918global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 919return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 937global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 938return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 956global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 957return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 979global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.GetCodepointFromSurrogatePair_0(ThisPtr, highSurrogate, lowSurrogate, out __retval)); 987global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.GetSurrogatePairFromCodepoint_1(ThisPtr, codepoint, out __highSurrogate, out __lowSurrogate)); 995global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.IsHighSurrogate_2(ThisPtr, codepoint, out __retval)); 1002global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.IsLowSurrogate_3(ThisPtr, codepoint, out __retval)); 1009global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.IsSupplementary_4(ThisPtr, codepoint, out __retval)); 1016global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.IsNoncharacter_5(ThisPtr, codepoint, out __retval)); 1023global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.IsWhitespace_6(ThisPtr, codepoint, out __retval)); 1030global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.IsAlphabetic_7(ThisPtr, codepoint, out __retval)); 1037global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.IsCased_8(ThisPtr, codepoint, out __retval)); 1044global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.IsUppercase_9(ThisPtr, codepoint, out __retval)); 1051global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.IsLowercase_10(ThisPtr, codepoint, out __retval)); 1058global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.IsIdStart_11(ThisPtr, codepoint, out __retval)); 1065global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.IsIdContinue_12(ThisPtr, codepoint, out __retval)); 1072global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.IsGraphemeBase_13(ThisPtr, codepoint, out __retval)); 1079global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.IsGraphemeExtend_14(ThisPtr, codepoint, out __retval)); 1086global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.GetNumericType_15(ThisPtr, codepoint, out __retval)); 1093global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.GetGeneralCategory_16(ThisPtr, codepoint, out __retval)); 1161global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 1162return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 1180global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 1181return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 1199global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 1200return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 1226global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.get_AlternateForms_2(ThisPtr, out __retval)); 1241global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.get_SourceTextSegment_1(ThisPtr, out __retval)); 1253global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.get_Text_0(ThisPtr, out __retval)); 1313global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 1314return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 1332global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 1333return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 1348global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 1349return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 1367global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 1368return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 1394global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.GetTokenAt_1(ThisPtr, MarshalString.GetAbi(__text), startIndex, out __retval)); 1411global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.GetTokens_2(ThisPtr, MarshalString.GetAbi(__text), out __retval)); 1429global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.Tokenize_3(ThisPtr, MarshalString.GetAbi(__text), startIndex, WordSegmentsTokenizingHandler.GetAbi(__handler))); 1445global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.get_ResolvedLanguage_0(ThisPtr, out __retval)); 1501global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 1502return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 1528global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.CreateWithLanguage_0(ThisPtr, MarshalString.GetAbi(__language), out __retval)); 1614global::WinRT.ExceptionHelpers.ThrowExceptionForHR(abiInvoke(ThisPtr, global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IEnumerable<global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordSegment>.GetAbi(__precedingWords), global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IEnumerable<global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordSegment>.GetAbi(__words))); 1645global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 1646return global::WinRT.ExceptionHelpers.GetHRForException(__exception__);
MS\Internal\WindowsRuntime\Generated\Windows.Globalization.cs (31)
86global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.CreateLanguage_0(ThisPtr, MarshalString.GetAbi(__languageTag), out __retval)); 252global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 253return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 271global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 272return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 290global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 291return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 309global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 310return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 336global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.get_DisplayName_1(ThisPtr, out __retval)); 353global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.get_LanguageTag_0(ThisPtr, out __retval)); 370global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.get_NativeName_2(ThisPtr, out __retval)); 387global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.get_Script_3(ThisPtr, out __retval)); 436global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 437return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 461global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.get_LayoutDirection_0(ThisPtr, out __retval)); 510global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 511return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 537global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.GetExtensionSubtags_0(ThisPtr, MarshalString.GetAbi(__singleton), out __retval)); 591global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 592return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 618global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.CreateLanguage_0(ThisPtr, MarshalString.GetAbi(__languageTag), out __retval)); 674global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 675return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 693global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 694return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 720global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.IsWellFormed_0(ThisPtr, MarshalString.GetAbi(__languageTag), out __retval)); 736global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.get_CurrentInputMethodLanguageTag_1(ThisPtr, out __retval)); 790global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 791return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 817global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.TrySetInputMethodLanguageTag_0(ThisPtr, MarshalString.GetAbi(__languageTag), out __retval));
MS\Internal\WindowsRuntime\Generated\WinRT\Interop\ExceptionErrorInfo.cs (12)
121ExceptionHelpers.SetErrorInfo(ex); 122return ExceptionHelpers.GetHRForException(ex); 139ExceptionHelpers.SetErrorInfo(ex); 140return ExceptionHelpers.GetHRForException(ex); 157ExceptionHelpers.SetErrorInfo(ex); 158return ExceptionHelpers.GetHRForException(ex); 175ExceptionHelpers.SetErrorInfo(ex); 176return ExceptionHelpers.GetHRForException(ex); 193ExceptionHelpers.SetErrorInfo(ex); 194return ExceptionHelpers.GetHRForException(ex); 354ExceptionHelpers.SetErrorInfo(ex); 355return ExceptionHelpers.GetHRForException(ex);
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (19)
134global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 135return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 174global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.First_0(ThisPtr, out __retval)); 301if (Marshal.GetHRForException(e) == ExceptionHelpers.E_CHANGED_STATE) 346ExceptionHelpers.ThrowExceptionForHR(ExceptionHelpers.E_BOUNDS); 377ExceptionHelpers.ThrowExceptionForHR(ExceptionHelpers.E_CHANGED_STATE); 482global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 483return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 503global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 504return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 521global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 522return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 540global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 541return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 579global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.MoveNext_2(ThisPtr, out __retval)); 593global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.GetMany_3(ThisPtr, __items_length, __items_data, out __retval)); 625global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.get_HasCurrent_1(ThisPtr, out __retval));
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IReadOnlyList.cs (13)
96if (ExceptionHelpers.E_BOUNDS == ex.HResult) 124e.SetHResult(ExceptionHelpers.E_BOUNDS); 139ex.SetHResult(ExceptionHelpers.E_BOUNDS); 270global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 271return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 292global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 293return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 313global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 314return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 332global::WinRT.ExceptionHelpers.SetErrorInfo(__exception__); 333return global::WinRT.ExceptionHelpers.GetHRForException(__exception__); 408global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.GetMany_3(ThisPtr, startIndex, __items_length, __items_data, out __retval)); 423global::WinRT.ExceptionHelpers.ThrowExceptionForHR(_obj.Vftbl.get_Size_1(ThisPtr, out __retval));