public SavingsAccount createSavingsAccount(String accountNumber, float interestRate) throws BankException {
SavingsAccount account = null;
if (internal_findAccount(accountNumber) != null) {
LOG.warn(MSG_ACCOUNT_ALREADYCREATED + accountNumber);
throw new BankException(MSG_ACCOUNT_ALREADYCREATED + accountNumber);
}
try {
SavingsAccountImpl accountImpl = new SavingsAccountImpl(accountNumber, interestRate);
accounts.put(accountNumber, accountImpl);