/// <summary>
/// Inserts the key-value pair in the map, with the key type as string.<br />
- /// The exception would be thrown if the pair with the same key already exists.
+ /// The error message would be shown if the pair with the same key already exists.
/// </summary>
/// <param name="key">The key to insert.</param>
/// <param name="value">The value to insert.</param>
global::System.IntPtr cPtr = Interop.PropertyMap.Find(SwigCPtr, key);
if (cPtr != global::System.IntPtr.Zero)
{
- throw new global::System.ArgumentException($"The key {key} already exists.", nameof(key));
+ Tizen.Log.Error("NUI", $"The key {key} already exists. please do not use duplicate key");
}
Interop.PropertyMap.Insert(SwigCPtr, key, PropertyValue.getCPtr(value));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// Inserts the key-value pair in the map, with the key type as index.<br />
- /// The exception would be thrown if the pair with the same key already exists.
+ /// The error message would be shown if the pair with the same key already exists.
/// </summary>
/// <param name="key">The key to insert.</param>
/// <param name="value">The value to insert.</param>
global::System.IntPtr cPtr = Interop.PropertyMap.Find(SwigCPtr, key);
if (cPtr != global::System.IntPtr.Zero)
{
- throw new global::System.ArgumentException($"The key {key} already exists.", nameof(key));
+ Tizen.Log.Error("NUI", $"The key {key} already exists. please do not use duplicate key");
}
Interop.PropertyMap.Insert(SwigCPtr, key, PropertyValue.getCPtr(value));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// Inserts the key-value pair in the map, with the key type as string.<br />
- /// The exception would be thrown if the pair with the same key already exists.
+ /// The error message would be shown if the pair with the same key already exists.
/// </summary>
/// <param name="key">The key to insert.</param>
/// <param name="value">The value to insert.</param>
global::System.IntPtr cPtr = Interop.PropertyMap.Find(SwigCPtr, key);
if (cPtr != global::System.IntPtr.Zero)
{
- throw new global::System.ArgumentException($"The key {key} already exists.", nameof(key));
+ Tizen.Log.Error("NUI", $"The key {key} already exists. please do not use duplicate key");
}
Interop.PropertyMap.Add(SwigCPtr, key, PropertyValue.getCPtr(value));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// Inserts the key-value pair in the map, with the key type as string.<br />
- /// The exception would be thrown if the pair with the same key already exists.
+ /// The error message would be shown if the pair with the same key already exists.
/// </summary>
/// <param name="key">The key to insert.</param>
/// <param name="value">The value to insert.</param>
global::System.IntPtr cPtr = Interop.PropertyMap.Find(SwigCPtr, key);
if (cPtr != global::System.IntPtr.Zero)
{
- throw new global::System.ArgumentException($"The key {key} already exists.", nameof(key));
+ Tizen.Log.Error("NUI", $"The key {key} already exists. please do not use duplicate key");
}
Interop.PropertyMap.Add(SwigCPtr, key, PropertyValue.getCPtr(value));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();