// internal coz, need to hide the RestResponse
 internal FacebookRequestException(string message, RestResponseBase response)
     : base(message)
 {
     _response = response ?? new RestResponse();
 }
        internal FacebookRequestException(RestResponseBase response)
            : this("Error occured while processing your Facebook request.", response)
        {

        }
Esempio n. 3
0
 public VkException(RestResponseBase response)
 {
     Response = response;
     StatusCode = response.StatusCode;
 }
Esempio n. 4
0
 public DropboxException(RestResponseBase r)
 {
     Response = r;
     StatusCode = r.StatusCode;
 }
Esempio n. 5
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="r"></param>
 public QzoneException(RestResponseBase r)
 {
     Response = r;
     StatusCode = r.StatusCode;
 }