if (uInfo.isUnregistered())
throw new PortNotDefinedException("Uses port: " + usingPortName +
" has been unregistered");
// confirm that this port is migrating
uInfo.confirmMigration();
}
} else {
logger.severe("Port " + usingPortName + " not defined");
throw new PortNotDefinedException("Port " + usingPortName + " not defined");
}