IDS peak ICV v1.3.0
Loading...
Searching...
No Matches
Exceptions.cs
Go to the documentation of this file.
1using System;
2using System.Runtime.Serialization;
3
5
12
16[Serializable]
17public class CommonException : Exception
18{
21 {
22 }
23
26 public CommonException(string message) : base(message)
27 {
28 }
29
36 public CommonException(string message, Exception inner) : base(message, inner)
37 {
38 }
39
43 protected CommonException(SerializationInfo info, StreamingContext context) : base(info, context)
44 {
45 }
46}
47
48#region Marker Interfaces
49
51
56{
57}
58
60
65{
66}
67
69
74{
75}
76
78
83{
84}
85
87
94
96
101{
102}
103
105
110{
111}
112
114
118public interface ICommonIOException
119{
120}
121
123
128{
129}
130
131#endregion
132
134
138[Serializable]
140{
145
151 public CommonInvalidParameterException(string message) : base(message)
152 {
153 }
154
161 public CommonInvalidParameterException(string message, Exception inner) : base(message, inner)
162 {
163 }
164
171 protected CommonInvalidParameterException(SerializationInfo info, StreamingContext context) : base(info,
172 context)
173 {
174 }
175}
176
178
182[Serializable]
184{
187 {
188 }
189
195 public CommonBadAllocException(string message) : base(message)
196 {
197 }
198
205 public CommonBadAllocException(string message, Exception inner) : base(message, inner)
206 {
207 }
208
212 protected CommonBadAllocException(SerializationInfo info, StreamingContext context) : base(info, context)
213 {
214 }
215}
216
218
222[Serializable]
224{
227 {
228 }
229
235 public CommonInternalErrorException(string message) : base(message)
236 {
237 }
238
245 public CommonInternalErrorException(string message, Exception inner) : base(message, inner)
246 {
247 }
248
252 protected CommonInternalErrorException(SerializationInfo info, StreamingContext context) : base(info, context)
253 {
254 }
255}
256
258
262[Serializable]
264{
267 {
268 }
269
275 public CommonInvalidCastException(string message) : base(message)
276 {
277 }
278
285 public CommonInvalidCastException(string message, Exception inner) : base(message, inner)
286 {
287 }
288
292 protected CommonInvalidCastException(SerializationInfo info, StreamingContext context) : base(info, context)
293 {
294 }
295}
296
298
302[Serializable]
305{
310
316 public CommonLibraryNotInitializedException(string message) : base(message)
317 {
318 }
319
326 public CommonLibraryNotInitializedException(string message, Exception inner) : base(message, inner)
327 {
328 }
329
336 protected CommonLibraryNotInitializedException(SerializationInfo info, StreamingContext context) : base(info,
337 context)
338 {
339 }
340}
341
343
347[Serializable]
349{
352 {
353 }
354
360 public CommonOutOfRangeException(string message) : base(message)
361 {
362 }
363
370 public CommonOutOfRangeException(string message, Exception inner) : base(message, inner)
371 {
372 }
373
377 protected CommonOutOfRangeException(SerializationInfo info, StreamingContext context) : base(info, context)
378 {
379 }
380}
381
383
387[Serializable]
389{
392 {
393 }
394
400 public CommonTimeoutException(string message) : base(message)
401 {
402 }
403
410 public CommonTimeoutException(string message, Exception inner) : base(message, inner)
411 {
412 }
413
417 protected CommonTimeoutException(SerializationInfo info, StreamingContext context) : base(info, context)
418 {
419 }
420}
421
423
427[Serializable]
429{
432 {
433 }
434
440 public CommonIOException(string message) : base(message)
441 {
442 }
443
450 public CommonIOException(string message, Exception inner) : base(message, inner)
451 {
452 }
453
457 protected CommonIOException(SerializationInfo info, StreamingContext context) : base(info, context)
458 {
459 }
460}
461
463
467[Serializable]
469{
472 {
473 }
474
480 public CommonNotSupportedException(string message) : base(message)
481 {
482 }
483
490 public CommonNotSupportedException(string message, Exception inner) : base(message, inner)
491 {
492 }
493
500 protected CommonNotSupportedException(SerializationInfo info, StreamingContext context) : base(info, context)
501 {
502 }
503}
Exception thrown when a memory allocation failure occurs.
CommonBadAllocException(string message, Exception inner)
Initializes a new instance of the CommonBadAllocException class with a specified error message and a ...
CommonBadAllocException()
Initializes a new instance of the CommonBadAllocException class.
CommonBadAllocException(string message)
Initializes a new instance of the CommonBadAllocException class with a specified error message.
Base class for all exceptions thrown by the peak libraries.
Definition Exceptions.cs:18
CommonException()
Initializes a new instance of the CommonException class.
Definition Exceptions.cs:20
CommonException(string message)
Initializes a new instance of the CommonException class with a specified error message.
Definition Exceptions.cs:26
CommonException(string message, Exception inner)
Initializes a new instance of the CommonException class with a specified error message and a referenc...
Definition Exceptions.cs:36
Exception thrown when an I/O operation fails.
CommonIOException(string message)
Initializes a new instance of the CommonIOException class with a specified error message.
CommonIOException()
Initializes a new instance of the CommonIOException class.
CommonIOException(string message, Exception inner)
Initializes a new instance of the CommonIOException class with a specified error message and a refere...
Exception representing a public-facing error condition.
CommonInternalErrorException(string message, Exception inner)
Initializes a new instance of the CommonInternalErrorException class with a specified error message a...
CommonInternalErrorException(string message)
Initializes a new instance of the CommonInternalErrorException class with a specified error message.
CommonInternalErrorException()
Initializes a new instance of the CommonInternalErrorException class.
Exception thrown when an invalid cast or type conversion is attempted.
CommonInvalidCastException()
Initializes a new instance of the CommonInvalidCastException class.
CommonInvalidCastException(string message)
Initializes a new instance of the CommonInvalidCastException class with a specified error message.
CommonInvalidCastException(string message, Exception inner)
Initializes a new instance of the CommonInvalidCastException class with a specified error message and...
Exception thrown when an invalid parameter is detected.
CommonInvalidParameterException()
Initializes a new instance of the CommonInvalidParameterException class.
CommonInvalidParameterException(string message)
Initializes a new instance of the CommonInvalidParameterException class with a specified error messag...
CommonInvalidParameterException(string message, Exception inner)
Initializes a new instance of the CommonInvalidParameterException class with a specified error messag...
Exception thrown when an operation is invoked before library initialization.
CommonLibraryNotInitializedException()
Initializes a new instance of the CommonLibraryNotInitializedException class.
CommonLibraryNotInitializedException(string message, Exception inner)
Initializes a new instance of the CommonLibraryNotInitializedException class with a specified error m...
CommonLibraryNotInitializedException(string message)
Initializes a new instance of the CommonLibraryNotInitializedException class with a specified error m...
Exception thrown when an operation is not supported.
CommonNotSupportedException()
Initializes a new instance of the CommonNotSupportedException class.
CommonNotSupportedException(string message, Exception inner)
Initializes a new instance of the CommonNotSupportedException class with a specified error message an...
CommonNotSupportedException(string message)
Initializes a new instance of the CommonNotSupportedException class with a specified error message.
Exception thrown when a value is outside the valid range.
CommonOutOfRangeException(string message)
Initializes a new instance of the CommonOutOfRangeException class with a specified error message.
CommonOutOfRangeException()
Initializes a new instance of the CommonOutOfRangeException class.
CommonOutOfRangeException(string message, Exception inner)
Initializes a new instance of the CommonOutOfRangeException class with a specified error message and ...
Exception thrown when an operation times out.
CommonTimeoutException(string message)
Initializes a new instance of the CommonTimeoutException class with a specified error message.
CommonTimeoutException(string message, Exception inner)
Initializes a new instance of the CommonTimeoutException class with a specified error message and a r...
CommonTimeoutException()
Initializes a new instance of the CommonTimeoutException class.
Marker interface for exceptions indicating a memory allocation failure.
Definition Exceptions.cs:65
Marker interface for exceptions indicating an I/O failure.
Marker interface for exceptions representing internal errors, which are thrown when an unexpected err...
Definition Exceptions.cs:74
Marker interface for exceptions indicating an invalid cast or type mismatch.
Definition Exceptions.cs:83
Marker interface for exceptions indicating an invalid parameter.
Definition Exceptions.cs:56
Marker interface for exceptions indicating the library has not been initialized.
Definition Exceptions.cs:92
Marker interface for exceptions indicating an unsupported operation.
Marker interface for exceptions indicating an out-of-range condition.
Marker interface for exceptions indicating a timeout condition.