示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InvalidTransactionException"/> class.
 /// </summary>
 /// <param name="message">The message.</param>
 /// <param name="transaction">The transaction.</param>
 public InvalidTransactionException(string message, TransactionBase transaction)
     : this(message, null, transaction)
 {
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InvalidTransactionException"/> class.
 /// </summary>
 /// <param name="message">The message.</param>
 /// <param name="innerException">The inner exception.</param>
 /// <param name="transaction">The transaction.</param>
 public InvalidTransactionException(string message, Exception innerException, TransactionBase transaction)
     : base(message, innerException)
 {
     Transaction = transaction;
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InvalidTransactionException"/> class.
 /// </summary>
 /// <param name="transaction">The transaction.</param>
 public InvalidTransactionException(TransactionBase transaction)
     : this(string.Format(CultureInfo.CurrentCulture, Resources.InvalidBankTransaction, transaction), transaction)
 {
 }