3
|
1 // This file (DuplicateIniLineException.cs) is a part of [PROJECT NAME] and is copyright 2009 IBBoard.
|
|
2 //
|
|
3 // The file and the library/program it is in are licensed under the GNU LGPL license. Please see COPYING.LGPL for more information and the full license.
|
|
4
|
|
5 using System;
|
|
6
|
|
7 namespace IBBoard.Ini
|
|
8 {
|
|
9 /// <summary>
|
|
10 /// An exception that indicates that a second line has been added to an IniSection that contained the same key as an existing line
|
|
11 /// </summary>
|
|
12 public class DuplicateIniLineException : ArgumentException
|
|
13 {
|
|
14 public DuplicateIniLineException(string sectionName, string lineName) : base("The section [" + sectionName + "] already contained a line with the key '" + lineName + "'")
|
|
15 {
|
|
16 }
|
|
17 }
|
|
18 }
|