Update bank.java

missed some exception