System.out.println("\tspecify amount");
System.out.print(">> ");
line = bis.readLine();
long amount = Long.parseLong(line);
try {
account.withdraw(amount);
System.out.println("\tamount "+amount+" withdrawn");
} catch (AccountException e) {
System.out.println("Exception occured: class= " + e.getClass().getCanonicalName());
System.out.println("Exception occured: message= " + e.getMessage());
}