Esempio n. 1
0
 /// <summary>
 /// Instantiate a new WixException.
 /// </summary>
 /// <param name="sourceLineNumbers">Source line information of the exception.</param>
 /// <param name="exceptionType">Type of exception.</param>
 /// <param name="innerException">The exception that is the cause of the current exception.</param>
 protected WixException(SourceLineNumberCollection sourceLineNumbers, WixExceptionType exceptionType, Exception innerException)
     : base(null, innerException)
 {
     this.sourceLineNumbers = sourceLineNumbers;
     this.exceptionType = exceptionType;
 }
Esempio n. 2
0
 /// <summary>
 /// Instantiate a new WixException.
 /// </summary>
 /// <param name="sourceLineNumbers">Source line information of the exception.</param>
 /// <param name="exceptionType">Type of exception.</param>
 /// <param name="innerException">The exception that is the cause of the current exception.</param>
 protected WixException(SourceLineNumberCollection sourceLineNumbers, WixExceptionType exceptionType, Exception innerException) :
     base(null, innerException)
 {
     this.sourceLineNumbers = sourceLineNumbers;
     this.exceptionType     = exceptionType;
 }
Esempio n. 3
0
 /// <summary>
 /// Instantiate a new WixException.
 /// </summary>
 /// <param name="sourceLineNumbers">Source line information of the exception.</param>
 /// <param name="exceptionType">Type of exception.</param>
 protected WixException(SourceLineNumberCollection sourceLineNumbers, WixExceptionType exceptionType)
     : this(sourceLineNumbers, exceptionType, null)
 {
 }
Esempio n. 4
0
 /// <summary>
 /// Instantiate a new WixException.
 /// </summary>
 /// <param name="sourceLineNumbers">Source line information of the exception.</param>
 /// <param name="exceptionType">Type of exception.</param>
 protected WixException(SourceLineNumberCollection sourceLineNumbers, WixExceptionType exceptionType) :
     this(sourceLineNumbers, exceptionType, null)
 {
 }