Revision d78d765c trunk/Pithos.Network/CloudFilesClient.cs
b/trunk/Pithos.Network/CloudFilesClient.cs | ||
---|---|---|
1056 | 1056 |
{ |
1057 | 1057 |
var ex = t.Exception.InnerException; |
1058 | 1058 |
var we = ex as WebException; |
1059 |
|
|
1060 | 1059 |
var response = we.Response as HttpWebResponse; |
1061 | 1060 |
if (response!=null && response.StatusCode==HttpStatusCode.Conflict) |
1062 | 1061 |
{ |
... | ... | |
1081 | 1080 |
throw ex; |
1082 | 1081 |
|
1083 | 1082 |
} |
1083 |
|
|
1084 | 1084 |
//Any other status code is unexpected but there was no exception. We can probably continue processing |
1085 | 1085 |
Log.WarnFormat("Unexcpected status code when putting map: {0} - {1}",client.StatusCode,client.StatusDescription); |
1086 | 1086 |
|
... | ... | |
1250 | 1250 |
if (!File.Exists(fileName) && !Directory.Exists(fileName)) |
1251 | 1251 |
throw new FileNotFoundException("The file or directory does not exist",fileName); |
1252 | 1252 |
*/ |
1253 |
Contract.EndContractBlock(); |
|
1254 | 1253 |
|
1255 | 1254 |
try |
1256 | 1255 |
{ |
Also available in: Unified diff