Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DuplicateSectionException"/> class.
 /// </summary>
 /// <param name="sectionName">Name of the section.</param>
 /// <param name="innerException">The inner exception.</param>
 public DuplicateSectionException(string sectionName, Exception innerException)
     : base(DuplicateSectionException.ExceptionMessage(sectionName), innerException)
 {
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DuplicateSectionException"/> class.
 /// </summary>
 /// <param name="sectionName">Name of the section.</param>
 public DuplicateSectionException(string sectionName)
     : base(DuplicateSectionException.ExceptionMessage(sectionName))
 {
 }