@Override
public RemoteHoldemPlayerContext sitIn(SeatId seatId, int buyIn,
RemoteHoldemPlayerListener holdemPlayerListener)
throws IllegalActionException, RemoteException {
try {
RemoteHoldemPlayerContext wrappedObject = new ForwardingRemoteHoldemPlayerContext(super.sitIn(seatId, buyIn, holdemPlayerListener));
return (RemoteHoldemPlayerContext) UnicastRemoteObject.exportObject(wrappedObject, 0);
} catch (RemoteException exception) {
logger.error(exception.getMessage(), exception);
throw exception;
}