From: jkjo92 Date: Tue, 17 Jan 2017 11:39:50 +0000 (+0900) Subject: Add doxygen description and ArgumaentException case X-Git-Tag: submit/trunk/20170823.075128~90^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e081aa34a414fe18e0e579e083ab0da008988bd;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Add doxygen description and ArgumaentException case Change-Id: I39a5ff945c2544b2a0b1c4ed7640e99092cd21ac --- diff --git a/src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/OAuth2ErrorFactory.cs b/src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/OAuth2ErrorFactory.cs old mode 100644 new mode 100755 index aba1f8a..08569f6 --- a/src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/OAuth2ErrorFactory.cs +++ b/src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/OAuth2ErrorFactory.cs @@ -116,7 +116,7 @@ namespace Tizen.Account.OAuth2 } else if ((OAuth2Error)error == OAuth2Error.ValueNotFound) { - return new Exception("Value not found"); + return new ArgumentException("Value not found"); } else { diff --git a/src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/TokenResponse.cs b/src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/TokenResponse.cs old mode 100644 new mode 100755 index fd93858..ded80ea --- a/src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/TokenResponse.cs +++ b/src/Tizen.Account.OAuth2/Tizen.Account.OAuth2/TokenResponse.cs @@ -62,11 +62,10 @@ namespace Tizen.Account.OAuth2 public RefreshToken RefreshToken { get; internal set; } /// - /// Custom key-value parameter received from service provider + /// Gets the value of the key received from service provider /// - /// - /// The return value can be null depending on the server specifications. - /// + /// The value of respecitve key + /// Thrown when the key does not exist or when there is an invalid parameter. public string GetCustomValue(string key) { IntPtr value;