private void logIn() { try { if (marketobj.login(client, command.getPassword())) { contr.setAccount(); contr.successfulLogin(); } else contr.failedLogin(); } catch (RemoteException e) { contr.remoteExceptionHandler(e); } }