public double getCash(double amount) throws Exception {
		try {
			if (amount > checkBalance(currentCard))
				throw new NotEnoughMoneyInAccount();
			if (amount > moneyInATM)
				throw new NotEnoughMoneyInATM();
			currentCard.getAccount().withdraw(amount);
			moneyInATM -= amount;
		} catch (NotEnoughMoneyInAccount | NotEnoughMoneyInATM e) {
			throw e;
		}
		return currentCard.getAccount().getBalance();
	}