source: trunk/Include/Classes/System/Threading/Exception.ab@ 499

Last change on this file since 499 was 499, checked in by NoWest, 16 years ago
File size: 3.2 KB
Line 
1NameSpace System
2NameSpace Threading
3
4Class AbandonedMutexException
5 Inherits System.SystemException
6Public'constructor
7 Sub AbandonedMutexException()
8 This.SystemException("", Nothing)
9 End Sub
10 Sub AbandonedMutexException(message As String)
11 This.SystemException(message, Nothing)
12 End Sub
13 Sub AbandonedMutexException(message As String, innerException As Exception)
14 This.SystemException(message, innerException)
15 End Sub
16
17End Class
18
19Class SemaphoreFullException
20 Inherits System.SystemException
21Public'constructor
22 Sub SemaphoreFullException()
23 This.SystemException("Too many semaphore countors.", Nothing)
24 This.HResult = ERROR_TOO_MANY_SEMAPHORES
25 End Sub
26 Sub SemaphoreFullException(message As String)
27 This.SystemException(message, Nothing)
28 This.HResult = ERROR_TOO_MANY_SEMAPHORES
29 End Sub
30 Sub SemaphoreFullException(message As String, innerException As Exception)
31 This.SystemException(message, innerException)
32 This.HResult = ERROR_TOO_MANY_SEMAPHORES
33 End Sub
34End Class
35
36Class SynchronizationLockException
37 Inherits System.SystemException
38Public'constructor
39 Sub SynchronizationLockException()
40 This.SystemException("", Nothing)
41 End Sub
42 Sub SynchronizationLockException(message As String)
43 This.SystemException(message, Nothing)
44 End Sub
45 Sub SynchronizationLockException(message As String, innerException As Exception)
46 This.SystemException(message, innerException)
47 End Sub
48End Class
49
50Class ThreadAbortException
51 Inherits System.SystemException
52Public'constructor
53 Sub ThreadAbortException()
54 This.SystemException("The thread was discontinued.", Nothing)
55 End Sub
56 Sub ThreadAbortException(message As String)
57 This.SystemException(message, Nothing)
58 End Sub
59 Sub ThreadAbortException(message As String, innerException As Exception)
60 This.SystemException(message, innerException)
61 End Sub
62End Class
63
64Class ThreadInterruptedException
65 Inherits System.SystemException
66Public'constructor
67 Sub ThreadInterruptedException()
68 This.SystemException("The thread was Interrupted.", Nothing)
69 End Sub
70 Sub ThreadInterruptedException(message As String)
71 This.SystemException(message, Nothing)
72 End Sub
73 Sub ThreadInterruptedException(message As String, innerException As Exception)
74 This.SystemException(message, innerException)
75 End Sub
76End Class
77
78Class ThreadStartException
79 Inherits System.SystemException
80Public'constructor
81 Sub ThreadStartException()
82 This.SystemException("The thread cannot be begun.", Nothing)
83 End Sub
84 Sub ThreadStartException(message As String)
85 This.SystemException(message, Nothing)
86 End Sub
87 Sub ThreadStartException(message As String, innerException As Exception)
88 This.SystemException(message, innerException)
89 End Sub
90End Class
91
92Class WaitHandleCannotBeOpenedException
93 Inherits System.SystemException
94Public'constructor
95 Sub WaitHandleCannotBeOpenedException()
96 This.SystemException("The wait handle can not be opened.", Nothing)
97 End Sub
98 Sub WaitHandleCannotBeOpenedException(message As String)
99 This.SystemException(message, Nothing)
100 End Sub
101 Sub WaitHandleCannotBeOpenedException(message As String, innerException As Exception)
102 This.SystemException(message, innerException)
103 End Sub
104End Class
105
106End NameSpace
107End NameSpace
Note: See TracBrowser for help on using the repository browser.