// 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)
        {

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