public void connectToGame(int gameIndex, GameEventListener gameListener) throws RemoteException, GameNotFoundException, InvalidSessionException, InvalidTimeException, NotCurrentPlayerGameException, AlreadyInGameException { final GameInfo info = mCurrentGameListModel.getGameAt(gameIndex); final Session session = usrMgr.getSession(); final Game game = srvAdapter.playGame(session, info); mGameEngine = new GameEngine(game, session, srvAdapter, gameListener); cltAdapter.setCallback(mGameEngine); }