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