try {
ContainerID oldCid = myMain.getContainerID(name);
Node n = myMain.getContainerNode(oldCid).getNode();
// Perform a non-blocking ping to check...
n.ping(false);
// Ping succeeded: rethrow the NameClashException
throw nce;
} catch (NameClashException nce2) {
throw nce2; // Let this one through...