using System; namespace WindowsDisplayAPI.Exceptions { /// /// Represents errors that occurs because of a missing display /// public class MissingDisplayException : Exception { /// /// Creates a new MissingDisplayException /// /// The path of missing display device /// The human readable message of the exception public MissingDisplayException(string message, string displayPath) : base(message) { DisplayPath = displayPath; } /// /// Gets the path of the display device /// public string DisplayPath { get; } } }