CPF/CPF.ReoGrid/PageBreakNotFoundException.cs

20 lines
399 B
C#
Raw Permalink Normal View History

2024-06-24 10:15:59 +08:00
using System;
namespace CPF.ReoGrid
{
[Serializable]
public class PageBreakNotFoundException : ReoGridPrintException
{
public int Index { get; set; }
public PageBreakNotFoundException(int index) : this("Page break at index " + index.ToString() + " was not found", index)
{
}
public PageBreakNotFoundException(string msg, int index) : base(msg)
{
this.Index = index;
}
}
}