modified not to throw exception in Dispose() 82/139582/1 accepted/tizen_4.0_unified accepted/tizen_unified tizen tizen_4.0 accepted/tizen/4.0/unified/20170816.015113 accepted/tizen/4.0/unified/20170828.223239 accepted/tizen/unified/20170720.062128 submit/tizen/20170720.005233 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0/20170828.100003 submit/tizen_4.0_unified/20170814.115522
authorJongkyu Koo <jk.koo@samsung.com>
Wed, 19 Jul 2017 10:52:02 +0000 (19:52 +0900)
committerJongkyu Koo <jk.koo@samsung.com>
Wed, 19 Jul 2017 10:52:02 +0000 (19:52 +0900)
Change-Id: I0a04e5e88197cb3c898847998d14ba24e57b2ef2
Signed-off-by: Jongkyu Koo <jk.koo@samsung.com>
Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtils.cs

index ae56f52..c410568 100644 (file)
@@ -62,10 +62,7 @@ namespace Tizen.PhonenumberUtils
 
             ret = Interop.PhonenumberUtils.Disconnect();
             if (ret != (int)PhonenumberUtilsError.None)
-            {
                 Log.Error(Globals.LogTag, "Failed to disconnect, Error - " + (PhonenumberUtilsError)ret);
-                PhonenumberUtilsErrorFactory.ThrowPhonenumberUtilsException(ret);
-            }
 
             disposed = true;
         }
@@ -123,7 +120,7 @@ namespace Tizen.PhonenumberUtils
 
         /// <summary>
         /// Gets the normalized number.
-        /// </summary>        
+        /// </summary>
         /// <param name="number">The number</param>
         /// <returns>The normalized number</returns>
         /// <privilege>http://tizen.org/privilege/telephony</privilege>
@@ -134,7 +131,7 @@ namespace Tizen.PhonenumberUtils
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
         /// <remarks>
-        /// Normalized number starts with plus('+') and country code, and excludes the separators such as dash or space. 
+        /// Normalized number starts with plus('+') and country code, and excludes the separators such as dash or space.
         /// It is a format of E.164 standard including the country code based on current network.
         /// </remarks>
         public string GetNormalizedNumber(string number)