using System;
namespace WindowsDisplayAPI.Exceptions
{
///
/// Represents errors that occurs because of an invalid display instance
///
public class InvalidDisplayException : Exception
{
///
/// Creates a new InvalidDisplayException
///
/// The path of invalidated display device
public InvalidDisplayException(string displayPath)
{
DisplayPath = displayPath;
}
///
/// Creates a new InvalidDisplayException
///
public InvalidDisplayException() : this(null)
{
}
///
/// Gets the path of the display device
///
public string DisplayPath { get; }
}
}