Package com.wesabe.api.util.money

Examples of com.wesabe.api.util.money.CurrencyMismatchException


 
  public AccountBalance(Account account, Money balance, DateTime date) {
    this(account, balance.getValue(), date);
   
    if (!account.getCurrency().equals(balance.getCurrency())) {
      throw new CurrencyMismatchException("create an AccountBalance with", account.getCurrency(), balance.getCurrency());
    }
  }
View Full Code Here

TOP

Related Classes of com.wesabe.api.util.money.CurrencyMismatchException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.