throws ResourceException {
try {
checkIfValid();
} catch (ResourceException ex) {
throw new IllegalStateException("Connection is invalid");
}
// dissociate handle with current managed connection
mc.removeCciConnection(this);
// associate handle with new managed connection
newMc.addCciConnection(this);