if (amount < 0) throw new IllegalArgumentException();balance = balance + amount;
// if this makes the balance negative, it's the caller's faultbalance = balance + amount;