@Override
protected void checkCanCluster (BodyObject initiator, BodyObject target)
throws InvocationException
{
StageOccupantInfo info = (StageOccupantInfo)_ssobj.occupantInfo.get(
Integer.valueOf(target.getOid()));
if (info == null) {
log.warning("Have no occinfo for cluster target " +
"[where=" + where() + ", init=" + initiator.who() +
", target=" + target.who() + "].");
throw new InvocationException(INTERNAL_ERROR);
}
if (!info.isClusterable()) {
throw new InvocationException(StageCodes.ERR_CANNOT_CLUSTER);
}
}