From: Jongkyu Koo Date: Wed, 19 Jul 2017 10:52:02 +0000 (+0900) Subject: modified not to throw exception in Dispose() X-Git-Tag: submit/trunk/20170823.075128~89^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eef4868993d725a062c98e3ab0c4694b9e1abbfb;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git modified not to throw exception in Dispose() Change-Id: I0a04e5e88197cb3c898847998d14ba24e57b2ef2 Signed-off-by: Jongkyu Koo --- diff --git a/src/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtils.cs b/src/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtils.cs index ae56f52..c410568 100644 --- a/src/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtils.cs +++ b/src/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtils.cs @@ -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 /// /// Gets the normalized number. - /// + /// /// The number /// The normalized number /// http://tizen.org/privilege/telephony @@ -134,7 +131,7 @@ namespace Tizen.PhonenumberUtils /// Thrown when failed due to out of memory /// Thrown when application does not have proper privileges /// - /// 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. /// public string GetNormalizedNumber(string number)