internal Direct2DException(PaintDotNet.Direct2D.Direct2DError error) : this(error, null, null) { }
internal Direct2DException(PaintDotNet.Direct2D.Direct2DError error, string message) : this(error, message, null) { }
internal Direct2DException(PaintDotNet.Direct2D.Direct2DError error, string message, Exception innerException) : base(message, innerException, (int)error) { }
internal Direct2DException(PaintDotNet.Direct2D.Direct2DError error, Exception innerException) : this(error, null, innerException) { }