1 // ****************************************************************
2 // This is free software licensed under the NUnit license. You
3 // may obtain a copy of the license as well as information regarding
4 // copyright ownership at http://nunit.org/?p=license&r=2.4.
5 // ****************************************************************
12 /// Exception raised when loading a project file with
13 /// an invalid format.
15 public class ProjectFormatException
: ApplicationException
17 #region Instance Variables
19 private int lineNumber
;
21 private int linePosition
;
27 public ProjectFormatException() : base() {}
29 public ProjectFormatException( string message
)
32 public ProjectFormatException( string message
, Exception inner
)
33 : base( message
, inner
) {}
35 public ProjectFormatException( string message
, int lineNumber
, int linePosition
)
38 this.lineNumber
= lineNumber
;
39 this.linePosition
= linePosition
;
48 get { return lineNumber; }
51 public int LinePosition
53 get { return linePosition; }