return;
}
try
{
Current current = OTSManager.get_current();
System.out.println("Beginning a User transaction to withdraw from an account");
current.begin();
try
{
Account debiter = _bank.get_account(name_debit);
debiter.debit(famount);
}
catch (NotExistingAccount nea)
{
System.out.println("The requested account does not exist!");
current.rollback_only();
}
current.commit(false);
}
catch (Exception e)
{
System.err.println("ERROR - " + e);
}