aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ThirdParty/SmartThreadPool/Exceptions.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ThirdParty/SmartThreadPool/Exceptions.cs')
-rw-r--r--ThirdParty/SmartThreadPool/Exceptions.cs222
1 files changed, 111 insertions, 111 deletions
diff --git a/ThirdParty/SmartThreadPool/Exceptions.cs b/ThirdParty/SmartThreadPool/Exceptions.cs
index 8e66ce9..6c6a88b 100644
--- a/ThirdParty/SmartThreadPool/Exceptions.cs
+++ b/ThirdParty/SmartThreadPool/Exceptions.cs
@@ -1,111 +1,111 @@
1using System; 1using System;
2#if !(_WINDOWS_CE) 2#if !(_WINDOWS_CE)
3using System.Runtime.Serialization; 3using System.Runtime.Serialization;
4#endif 4#endif
5 5
6namespace Amib.Threading 6namespace Amib.Threading
7{ 7{
8 #region Exceptions 8 #region Exceptions
9 9
10 /// <summary> 10 /// <summary>
11 /// Represents an exception in case IWorkItemResult.GetResult has been canceled 11 /// Represents an exception in case IWorkItemResult.GetResult has been canceled
12 /// </summary> 12 /// </summary>
13 public sealed partial class WorkItemCancelException : Exception 13 public sealed partial class WorkItemCancelException : Exception
14 { 14 {
15 public WorkItemCancelException() 15 public WorkItemCancelException()
16 { 16 {
17 } 17 }
18 18
19 public WorkItemCancelException(string message) 19 public WorkItemCancelException(string message)
20 : base(message) 20 : base(message)
21 { 21 {
22 } 22 }
23 23
24 public WorkItemCancelException(string message, Exception e) 24 public WorkItemCancelException(string message, Exception e)
25 : base(message, e) 25 : base(message, e)
26 { 26 {
27 } 27 }
28 } 28 }
29 29
30 /// <summary> 30 /// <summary>
31 /// Represents an exception in case IWorkItemResult.GetResult has been timed out 31 /// Represents an exception in case IWorkItemResult.GetResult has been timed out
32 /// </summary> 32 /// </summary>
33 public sealed partial class WorkItemTimeoutException : Exception 33 public sealed partial class WorkItemTimeoutException : Exception
34 { 34 {
35 public WorkItemTimeoutException() 35 public WorkItemTimeoutException()
36 { 36 {
37 } 37 }
38 38
39 public WorkItemTimeoutException(string message) 39 public WorkItemTimeoutException(string message)
40 : base(message) 40 : base(message)
41 { 41 {
42 } 42 }
43 43
44 public WorkItemTimeoutException(string message, Exception e) 44 public WorkItemTimeoutException(string message, Exception e)
45 : base(message, e) 45 : base(message, e)
46 { 46 {
47 } 47 }
48 } 48 }
49 49
50 /// <summary> 50 /// <summary>
51 /// Represents an exception in case IWorkItemResult.GetResult has been timed out 51 /// Represents an exception in case IWorkItemResult.GetResult has been timed out
52 /// </summary> 52 /// </summary>
53 public sealed partial class WorkItemResultException : Exception 53 public sealed partial class WorkItemResultException : Exception
54 { 54 {
55 public WorkItemResultException() 55 public WorkItemResultException()
56 { 56 {
57 } 57 }
58 58
59 public WorkItemResultException(string message) 59 public WorkItemResultException(string message)
60 : base(message) 60 : base(message)
61 { 61 {
62 } 62 }
63 63
64 public WorkItemResultException(string message, Exception e) 64 public WorkItemResultException(string message, Exception e)
65 : base(message, e) 65 : base(message, e)
66 { 66 {
67 } 67 }
68 } 68 }
69 69
70 70
71#if !(_WINDOWS_CE) && !(_SILVERLIGHT) && !(WINDOWS_PHONE) 71#if !(_WINDOWS_CE) && !(_SILVERLIGHT) && !(WINDOWS_PHONE)
72 /// <summary> 72 /// <summary>
73 /// Represents an exception in case IWorkItemResult.GetResult has been canceled 73 /// Represents an exception in case IWorkItemResult.GetResult has been canceled
74 /// </summary> 74 /// </summary>
75 [Serializable] 75 [Serializable]
76 public sealed partial class WorkItemCancelException 76 public sealed partial class WorkItemCancelException
77 { 77 {
78 public WorkItemCancelException(SerializationInfo si, StreamingContext sc) 78 public WorkItemCancelException(SerializationInfo si, StreamingContext sc)
79 : base(si, sc) 79 : base(si, sc)
80 { 80 {
81 } 81 }
82 } 82 }
83 83
84 /// <summary> 84 /// <summary>
85 /// Represents an exception in case IWorkItemResult.GetResult has been timed out 85 /// Represents an exception in case IWorkItemResult.GetResult has been timed out
86 /// </summary> 86 /// </summary>
87 [Serializable] 87 [Serializable]
88 public sealed partial class WorkItemTimeoutException 88 public sealed partial class WorkItemTimeoutException
89 { 89 {
90 public WorkItemTimeoutException(SerializationInfo si, StreamingContext sc) 90 public WorkItemTimeoutException(SerializationInfo si, StreamingContext sc)
91 : base(si, sc) 91 : base(si, sc)
92 { 92 {
93 } 93 }
94 } 94 }
95 95
96 /// <summary> 96 /// <summary>
97 /// Represents an exception in case IWorkItemResult.GetResult has been timed out 97 /// Represents an exception in case IWorkItemResult.GetResult has been timed out
98 /// </summary> 98 /// </summary>
99 [Serializable] 99 [Serializable]
100 public sealed partial class WorkItemResultException 100 public sealed partial class WorkItemResultException
101 { 101 {
102 public WorkItemResultException(SerializationInfo si, StreamingContext sc) 102 public WorkItemResultException(SerializationInfo si, StreamingContext sc)
103 : base(si, sc) 103 : base(si, sc)
104 { 104 {
105 } 105 }
106 } 106 }
107 107
108#endif 108#endif
109 109
110 #endregion 110 #endregion
111} 111}