## Uses of Class
java.rmi.NoSuchObjectException

- Packages that use NoSuchObjectException
  Package | Description
  --- | ---
  java.rmi.activation | Provides support for RMI Object Activation.
  java.rmi.server | Provides classes and interfaces for supporting the server side of RMI.
  javax.rmi | Contains user APIs for RMI-IIOP.
  javax.rmi.CORBA | Contains portability APIs for RMI-IIOP.

- - ### Uses of NoSuchObjectException in java.rmi.activation

    Methods in java.rmi.activation that throw NoSuchObjectException
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | Activatable.`unexportObject(Remote obj, boolean force)` Remove the remote object, obj, from the RMI runtime.

  - ### Uses of NoSuchObjectException in java.rmi.server

    Methods in java.rmi.server that throw NoSuchObjectException
    Modifier and Type | Method and Description
    --- | ---
    `static Remote` | RemoteObject.`toStub(Remote obj)` Returns the stub for the remote object `obj` passed as a parameter.
    `static boolean` | UnicastRemoteObject.`unexportObject(Remote obj, boolean force)` Removes the remote object, obj, from the RMI runtime.

  - ### Uses of NoSuchObjectException in javax.rmi

    Methods in javax.rmi that throw NoSuchObjectException
    Modifier and Type | Method and Description
    --- | ---
    `static Remote` | PortableRemoteObject.`toStub(Remote obj)` Returns a stub for the given server object.
    `static void` | PortableRemoteObject.`unexportObject(Remote obj)` Deregisters a server object from the runtime, allowing the object to become available for garbage collection.

  - ### Uses of NoSuchObjectException in javax.rmi.CORBA

    Methods in javax.rmi.CORBA that throw NoSuchObjectException
    Modifier and Type | Method and Description
    --- | ---
    `void` | Tie.`deactivate()` Deactivates the target object represented by this tie.
    `Remote` | PortableRemoteObjectDelegate.`toStub(Remote obj)` Delegation call for `PortableRemoteObject.toStub(java.rmi.Remote)`.
    `void` | PortableRemoteObjectDelegate.`unexportObject(Remote obj)` Delegation call for `PortableRemoteObject.unexportObject(java.rmi.Remote)`.
    `static void` | Util.`unexportObject(Remote target)` Removes the associated tie from an internal table and calls `Tie.deactivate()` to deactivate the object.
    `void` | UtilDelegate.`unexportObject(Remote target)` Delegation call for `Util.unexportObject(java.rmi.Remote)`.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.