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