< prev index next >

src/java.rmi/share/classes/sun/rmi/registry/RegistryImpl.java

Print this page

        

*** 153,163 **** } /** * Returns the remote object for specified name in the registry. * @exception RemoteException If remote operation failed. ! * @exception NotBound If name is not currently bound. */ public Remote lookup(String name) throws RemoteException, NotBoundException { synchronized (bindings) { --- 153,163 ---- } /** * Returns the remote object for specified name in the registry. * @exception RemoteException If remote operation failed. ! * @exception NotBoundException If name is not currently bound. */ public Remote lookup(String name) throws RemoteException, NotBoundException { synchronized (bindings) {
*** 186,196 **** } /** * Unbind the name. * @exception RemoteException If remote operation failed. ! * @exception NotBound If name is not currently bound. */ public void unbind(String name) throws RemoteException, NotBoundException, AccessException { checkAccess("Registry.unbind"); --- 186,196 ---- } /** * Unbind the name. * @exception RemoteException If remote operation failed. ! * @exception NotBoundException If name is not currently bound. */ public void unbind(String name) throws RemoteException, NotBoundException, AccessException { checkAccess("Registry.unbind");
< prev index next >