public void unregister(String key) throws RegistryException {
  try {
    registry.unbind(key);
  }
 catch (  Exception e) {
    throw new RegistryException("Failed to unregister with key [" + key + "]",e);
  }
}

public void unregister ( String key ) throws RegistryException { try { registry . unbind ( key ) ; } catch ( Exception e ) { throw new RegistryException ( "Failed to unregister with key [" + key + "]" , e ) ; } }
removes the binding for the specified key in this registry .
