protected override void InnerEmbedHostType(string itemName, Type type) { try { _jsEngine.EmbedHostType(itemName, type); } catch (OriginalException e) { throw WrapJsException(e); } }
protected override void InnerEmbedHostType(string itemName, Type type) { try { _jsEngine.EmbedHostType(itemName, type); } catch (OriginalJsRuntimeException e) { throw ConvertMsieJsRuntimeExceptionToJsRuntimeException(e); } }