break;
default:
throw new Exception("Bad command : \"" + AdminCommandConstant.commandNames[request.getCommand()] + "\"");
}
distributeReply(replyTo, requestMsgId, new AdminCommandReply(true,
AdminCommandConstant.commandNames[request.getCommand()] + " done.", replyProp));
} catch (Exception exc) {
if (logger.isLoggable(BasicLevel.WARN))
logger.log(BasicLevel.WARN, "", exc);
distributeReply(replyTo, requestMsgId, new AdminReply(false, exc.toString()));