result.acceptProposal = acceptProposal;
result.acceptedValue = accept.getAcceptedValue();
}
} else if (me.getResponseMessage().getOp() ==
elections.getProtocol().PROTOCOL_ERROR){
ProtocolError protocolError =
(ProtocolError) me.getResponseMessage();
/* Possible protocol version, group, or config skew. */
LoggerUtils.logMsg(logger, elections.getRepImpl(),
formatter, Level.WARNING,
"Election protocol error: " +
protocolError.getMessage());
return;
} else {
throw EnvironmentFailureException.unexpectedState
("Unknown response: " +
me.getResponseMessage().getOp());