wasDAVClient – Diff between revs 5 and 7
?pathlinks?
Rev 5 | Rev 7 | |||
---|---|---|---|---|
1 | /////////////////////////////////////////////////////////////////////////// |
1 | /////////////////////////////////////////////////////////////////////////// |
|
2 | // Copyright (C) Wizardry and Steamworks 2016 - License: GNU GPLv3 // |
2 | // Copyright (C) Wizardry and Steamworks 2016 - License: GNU GPLv3 // |
|
3 | // Please see: http://www.gnu.org/licenses/gpl.html for legal details, // |
3 | // Please see: http://www.gnu.org/licenses/gpl.html for legal details, // |
|
4 | // rights of fair usage, the disclaimer and warranty conditions. // |
4 | // rights of fair usage, the disclaimer and warranty conditions. // |
|
5 | /////////////////////////////////////////////////////////////////////////// |
5 | /////////////////////////////////////////////////////////////////////////// |
|
6 | // Originally based on: WebDAV .NET client by Sergey Kazantsev |
6 | // Originally based on: WebDAV .NET client by Sergey Kazantsev |
|
7 | |
7 | |
|
8 | using System; |
8 | using System; |
|
9 | using System.Runtime.Serialization; |
9 | using System.Runtime.Serialization; |
|
10 | |
10 | |
|
11 | namespace wasDAVClient.Helpers |
11 | namespace wasDAVClient.Helpers |
|
12 | { |
12 | { |
|
13 | public class wasDAVConflictException : wasDAVException |
13 | public class wasDAVConflictException : wasDAVException |
|
14 | { |
14 | { |
|
15 | public wasDAVConflictException() |
15 | public wasDAVConflictException() |
|
16 | { |
16 | { |
|
17 | } |
17 | } |
|
18 | |
18 | |
|
19 | public wasDAVConflictException(string message) |
19 | public wasDAVConflictException(string message) |
|
20 | : base(message) |
20 | : base(message) |
|
21 | { |
21 | { |
|
22 | } |
22 | } |
|
23 | |
23 | |
|
24 | public wasDAVConflictException(string message, int hr) |
24 | public wasDAVConflictException(string message, int hr) |
|
25 | : base(message, hr) |
25 | : base(message, hr) |
|
26 | { |
26 | { |
|
27 | } |
27 | } |
|
28 | |
28 | |
|
29 | public wasDAVConflictException(string message, Exception innerException) |
29 | public wasDAVConflictException(string message, Exception innerException) |
|
30 | : base(message, innerException) |
30 | : base(message, innerException) |
|
31 | { |
31 | { |
|
32 | } |
32 | } |
|
33 | |
33 | |
|
34 | public wasDAVConflictException(int httpCode, string message, Exception innerException) |
34 | public wasDAVConflictException(int httpCode, string message, Exception innerException) |
|
35 | : base(httpCode, message, innerException) |
35 | : base(httpCode, message, innerException) |
|
36 | { |
36 | { |
|
37 | } |
37 | } |
|
38 | |
38 | |
|
39 | public wasDAVConflictException(int httpCode, string message) |
39 | public wasDAVConflictException(int httpCode, string message) |
|
40 | : base(httpCode, message) |
40 | : base(httpCode, message) |
|
41 | { |
41 | { |
|
42 | } |
42 | } |
|
43 | |
43 | |
|
44 | public wasDAVConflictException(int httpCode, string message, int hr) |
44 | public wasDAVConflictException(int httpCode, string message, int hr) |
|
45 | : base(httpCode, message, hr) |
45 | : base(httpCode, message, hr) |
|
46 | { |
46 | { |
|
47 | } |
47 | } |
|
48 | |
48 | |
|
49 | protected wasDAVConflictException(SerializationInfo info, StreamingContext context) |
49 | protected wasDAVConflictException(SerializationInfo info, StreamingContext context) |
|
50 | : base(info, context) |
50 | : base(info, context) |
|
51 | { |
51 | { |
|
52 | } |
52 | } |
|
53 | } |
53 | } |
|
54 | } |
54 | } |
|
55 | |
55 | |
|
56 |
|
56 |
|
|
57 | |
57 | |
|
58 | |
58 | |
|
59 | |
59 | |