示例#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;
 }
示例#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;
 }
示例#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)
 {
 }
示例#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)
 {
 }