20 lines
399 B
C#
20 lines
399 B
C#
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;
|
|
}
|
|
}
|
|
}
|