123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- using System;
- using System.Runtime.Serialization;
- namespace Amib.Threading
- {
- #region Exceptions
-
-
-
- [Serializable]
- public sealed class WorkItemCancelException : ApplicationException
- {
- public WorkItemCancelException() : base()
- {
- }
- public WorkItemCancelException(string message) : base(message)
- {
- }
- public WorkItemCancelException(string message, Exception e) : base(message, e)
- {
- }
- public WorkItemCancelException(SerializationInfo si, StreamingContext sc) : base(si, sc)
- {
- }
- }
-
-
-
- [Serializable]
- public sealed class WorkItemTimeoutException : ApplicationException
- {
- public WorkItemTimeoutException() : base()
- {
- }
- public WorkItemTimeoutException(string message) : base(message)
- {
- }
- public WorkItemTimeoutException(string message, Exception e) : base(message, e)
- {
- }
- public WorkItemTimeoutException(SerializationInfo si, StreamingContext sc) : base(si, sc)
- {
- }
- }
-
-
-
- [Serializable]
- public sealed class WorkItemResultException : ApplicationException
- {
- public WorkItemResultException() : base()
- {
- }
- public WorkItemResultException(string message) : base(message)
- {
- }
- public WorkItemResultException(string message, Exception e) : base(message, e)
- {
- }
- public WorkItemResultException(SerializationInfo si, StreamingContext sc) : base(si, sc)
- {
- }
- }
- #endregion
- }
|