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