if (ref != null && (ref.isOverrided() || ref.isOverriding())) {
((BrokerException)ex).overrideStatusCode(Status.GONE);
((BrokerException)ex).setRemoteConsumerUIDs(
String.valueOf(cids[i].longValue()));
((BrokerException)ex).setRemote(true);
consumer.recreationRequested();
}
}
if (ex instanceof BrokerException) throw (BrokerException)ex;
throw new BrokerException("Internal Error: Unable to " +