Пример #1
0
 /// <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;
 }
Пример #2
0
 /// <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)
 {
 }
Пример #3
0
 /// <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)
 {
 }
Пример #4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="issue">Configuration Issue</param>
 public ConfigurationException(ConfigurationIssue issue)
     : this(issue, string.Empty)
 {
 }
Пример #5
0
 /// <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;
 }
Пример #6
0
 /// <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)
 {
 }
Пример #7
0
 /// <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)
 {
 }
Пример #8
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="issue">Configuration Issue</param>
 public ConfigurationException(ConfigurationIssue issue)
     : this(issue, string.Empty)
 {
 }