/// <summary> /// Constructor /// </summary> /// <param name="issue">Configuration Issue</param> /// <param name="message">A message that describes the error.</param> /// <param name="innerException">The exception that is the cause of the current exception. If the innerException /// parameter is not a null reference, the current exception is raised in a catch /// block that handles the inner exception.</param> public ConfigurationException(ConfigurationIssue issue, string message, Exception innerException) : base(message, innerException) { this.issue = issue; }
/// <summary> /// Constructor /// </summary> /// <param name="issue">Configuration Issue</param> /// <param name="message">A message that describes the error.</param> public ConfigurationException(ConfigurationIssue issue, string message) : this(issue, message, null) { }
/// <summary> /// Constructor /// </summary> /// <param name="issue">Configuration Issue</param> /// <param name="innerException">The exception that is the cause of the current exception. If the innerException /// parameter is not a null reference, the current exception is raised in a catch /// block that handles the inner exception.</param> public ConfigurationException(ConfigurationIssue issue, Exception innerException) : this(issue, innerException == null ? string.Empty : innerException.Message, innerException) { }
/// <summary> /// Constructor /// </summary> /// <param name="issue">Configuration Issue</param> public ConfigurationException(ConfigurationIssue issue) : this(issue, string.Empty) { }