if(!isSittingIn) {
throw new IllegalActionException("Can't act when not sitting in.");
}
try {
int callValue = gameStateContainer.getGameState().getCallValue(new PlayerId(serial));
conn.sendRemote(new Raise(serial, game_id, callValue+amount));
} catch (JSONException e) {
throw new IllegalActionException(e);
}
}