using System; using System.Collections.Generic; using System.Text; namespace LaunchDarkly.EventSource { /// /// General superclass for exceptions that caused the EventSource to disconnect or fail to establish /// a connection. /// public class EventSourceServiceCancelledException : Exception { #region Public Constructors /// /// Creates a new instance. /// /// the exception message public EventSourceServiceCancelledException(string message) : base(message) { } /// /// Creates a new instance with an inner exception. /// /// the exception message /// the inner exception public EventSourceServiceCancelledException(string message, Exception innerException) : base(message, innerException) { } #endregion } }