mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-12 17:48:31 +00:00
24 lines
769 B
C#
24 lines
769 B
C#
using System;
|
|
|
|
namespace RGB.NET.Core;
|
|
|
|
/// <inheritdoc />
|
|
/// <summary>
|
|
/// Represents an exception thrown by an <see cref="T:RGB.NET.Core.RGBSurface" />.
|
|
/// </summary>
|
|
public class RGBSurfaceException : ApplicationException
|
|
{
|
|
#region Constructors
|
|
|
|
/// <inheritdoc />
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="T:RGB.NET.Core.RGBSurfaceException" /> class.
|
|
/// </summary>
|
|
/// <param name="message">The message which describes the reason of throwing this exception.</param>
|
|
/// <param name="innerException">Optional inner exception, which lead to this exception.</param>
|
|
public RGBSurfaceException(string message, Exception? innerException = null)
|
|
: base(message, innerException)
|
|
{ }
|
|
|
|
#endregion
|
|
} |