123456789101112131415161718192021222324252627282930313233343536373839404142 |
- namespace WatsonTcp
- {
- using System;
- /// <summary>
- /// Event arguments for when an exception is encountered.
- /// </summary>
- public class ExceptionEventArgs
- {
- #region Public-Members
- /// <summary>
- /// Exception.
- /// </summary>
- public Exception Exception { get; }
- #endregion
- #region Private-Members
- #endregion
- #region Constructors-and-Factories
- internal ExceptionEventArgs(Exception e)
- {
- if (e == null) throw new ArgumentNullException(nameof(e));
- Exception = e;
- }
- #endregion
- #region Public-Methods
- #endregion
- #region Private-Methods
- #endregion
- }
- }
|