import IE.Iona.Orbix2.CORBA.SystemException; import IE.Iona.Orbix2._CORBA; public class BankImp implements _BankOperations { /** * Creates a new account and returns a tie to it * * @param anId@ * @param aClient@ * @return tie to the Account created@ */ public _AccountRef newAccount(String anId, _CheckableRef aClient) { _AccountRef aRef = null; try { aRef = new _tie_Account(new AccountImp(anId, aClient)); } catch (SystemException se) { System.out.println("BankImp: Could not tie to new account\n" + se); } return aRef; } }