Uses of Class
java.rmi.RemoteException
Packages that use RemoteException
Package
Description
Provides the RMI package.
Provides support for RMI Object Activation.
Provides classes and interface for RMI distributed
 garbage-collection (DGC).
Provides a class and two interfaces for the RMI registry.
Provides classes and interfaces for supporting the server side of RMI.
The RMI connector is a connector for the JMX Remote API that
      uses RMI to transmit client requests to a remote MBean server.
- 
Uses of RemoteException in java.rmiSubclasses of RemoteException in java.rmiModifier and TypeClassDescriptionclassAnAccessExceptionis thrown by certain methods of thejava.rmi.Namingclass (specificallybind,rebind, andunbind) and methods of thejava.rmi.activation.ActivationSysteminterface to indicate that the caller does not have permission to perform the action requested by the method call.classAConnectExceptionis thrown if a connection is refused to the remote host for a remote method call.classAConnectIOExceptionis thrown if anIOExceptionoccurs while making a connection to the remote host for a remote method call.classAMarshalExceptionis thrown if ajava.io.IOExceptionoccurs while marshalling the remote call header, arguments or return value for a remote method call.classANoSuchObjectExceptionis thrown if an attempt is made to invoke a method on an object that no longer exists in the remote virtual machine.classAServerErroris thrown as a result of a remote method invocation when anErroris thrown while processing the invocation on the server, either while unmarshalling the arguments, executing the remote method itself, or marshalling the return value.classAServerExceptionis thrown as a result of a remote method invocation when aRemoteExceptionis thrown while processing the invocation on the server, either while unmarshalling the arguments or executing the remote method itself.classDeprecated.no replacementclassAStubNotFoundExceptionis thrown if a valid stub class could not be found for a remote object when it is exported.classAnUnexpectedExceptionis thrown if the client of a remote method call receives, as a result of the call, a checked exception that is not among the checked exception types declared in thethrowsclause of the method in the remote interface.classAnUnknownHostExceptionis thrown if ajava.net.UnknownHostExceptionoccurs while creating a connection to the remote host for a remote method call.classAnUnmarshalExceptioncan be thrown while unmarshalling the parameters or results of a remote method call if any of the following conditions occur: if an exception occurs while unmarshalling the call header if the protocol for the return value is invalid if ajava.io.IOExceptionoccurs unmarshalling parameters (on the server side) or the return value (on the client side).Methods in java.rmi that throw RemoteExceptionModifier and TypeMethodDescriptionstatic voidBinds the specifiednameto a remote object.static String[]Returns an array of the names bound in the registry.static RemoteReturns a reference, a stub, for the remote object associated with the specifiedname.static voidRebinds the specified name to a new remote object.static voidDestroys the binding for the specified name that is associated with a remote object.
- 
Uses of RemoteException in java.rmi.activationSubclasses of RemoteException in java.rmi.activationModifier and TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version.See thejava.rmi.activationpackage specification for further information.Methods in java.rmi.activation that throw RemoteExceptionModifier and TypeMethodDescriptionActivationID.activate(boolean force)Deprecated, for removal: This API element is subject to removal in a future version.Activate the object for this id.MarshalledObject<? extends Remote>Activator.activate(ActivationID id, boolean force)Deprecated, for removal: This API element is subject to removal in a future version.Activate the object associated with the activation identifier,id.ActivationSystem.activeGroup(ActivationGroupID id, ActivationInstantiator group, long incarnation)Deprecated, for removal: This API element is subject to removal in a future version.Callback to inform activation system that group is now active.protected voidActivationGroup.activeObject(ActivationID id, MarshalledObject<? extends Remote> mobj)Deprecated, for removal: This API element is subject to removal in a future version.This protected method is necessary for subclasses to make theactiveObjectcallback to the group's monitor.abstract voidActivationGroup.activeObject(ActivationID id, Remote obj)Deprecated, for removal: This API element is subject to removal in a future version.The group'sactiveObjectmethod is called when an object is exported (either byActivatableobject construction or an explicit call toActivatable.exportObject.voidActivationMonitor.activeObject(ActivationID id, MarshalledObject<? extends Remote> obj)Deprecated, for removal: This API element is subject to removal in a future version.Informs that an object is now active.static ActivationIDActivatable.exportObject(Remote obj, String location, MarshalledObject<?> data, boolean restart, int port)Deprecated, for removal: This API element is subject to removal in a future version.Registers an activation descriptor (with the specified location, data, and restart mode) for the specified object, and exports that object with the specified port.static ActivationIDActivatable.exportObject(Remote obj, String location, MarshalledObject<?> data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)Deprecated, for removal: This API element is subject to removal in a future version.Registers an activation descriptor (with the specified location, data, and restart mode) for the specified object, and exports that object with the specified port, and the specified client and server socket factories.static RemoteActivatable.exportObject(Remote obj, ActivationID id, int port)Deprecated, for removal: This API element is subject to removal in a future version.Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls.static RemoteActivatable.exportObject(Remote obj, ActivationID id, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)Deprecated, for removal: This API element is subject to removal in a future version.Export the activatable remote object to the RMI runtime to make the object available to receive incoming calls.ActivationSystem.getActivationDesc(ActivationID id)Deprecated, for removal: This API element is subject to removal in a future version.Returns the activation descriptor, for the object with the activation identifier,id.ActivationSystem.getActivationGroupDesc(ActivationGroupID id)Deprecated, for removal: This API element is subject to removal in a future version.Returns the activation group descriptor, for the group with the activation group identifier,id.static booleanActivatable.inactive(ActivationID id)Deprecated, for removal: This API element is subject to removal in a future version.Informs the system that the object with the corresponding activationidis currently inactive.protected voidActivationGroup.inactiveGroup()Deprecated, for removal: This API element is subject to removal in a future version.This protected method is necessary for subclasses to make theinactiveGroupcallback to the group's monitor.voidActivationMonitor.inactiveGroup(ActivationGroupID id, long incarnation)Deprecated, for removal: This API element is subject to removal in a future version.Informs that the group is now inactive.booleanActivationGroup.inactiveObject(ActivationID id)Deprecated, for removal: This API element is subject to removal in a future version.The group'sinactiveObjectmethod is called indirectly via a call to theActivatable.inactivemethod.voidActivationMonitor.inactiveObject(ActivationID id)Deprecated, for removal: This API element is subject to removal in a future version.An activation group calls its monitor'sinactiveObjectmethod when an object in its group becomes inactive (deactivates).ActivationGroup_Stub.newInstance(ActivationID id, ActivationDesc desc)Deprecated, for removal: This API element is subject to removal in a future version.Stub method forActivationGroup.newInstance.MarshalledObject<? extends Remote>ActivationInstantiator.newInstance(ActivationID id, ActivationDesc desc)Deprecated, for removal: This API element is subject to removal in a future version.The activator calls an instantiator'snewInstancemethod in order to recreate in that group an object with the activation identifier,id, and descriptor,desc.static RemoteActivatable.register(ActivationDesc desc)Deprecated, for removal: This API element is subject to removal in a future version.Register an object descriptor for an activatable remote object so that is can be activated on demand.ActivationSystem.registerGroup(ActivationGroupDesc desc)Deprecated, for removal: This API element is subject to removal in a future version.Register the activation group.ActivationSystem.registerObject(ActivationDesc desc)Deprecated, for removal: This API element is subject to removal in a future version.TheregisterObjectmethod is used to register an activation descriptor,desc, and obtain an activation identifier for a activatable remote object.ActivationSystem.setActivationDesc(ActivationID id, ActivationDesc desc)Deprecated, for removal: This API element is subject to removal in a future version.Set the activation descriptor,descfor the object with the activation identifier,id.ActivationSystem.setActivationGroupDesc(ActivationGroupID id, ActivationGroupDesc desc)Deprecated, for removal: This API element is subject to removal in a future version.Set the activation group descriptor,descfor the object with the activation group identifier,id.voidActivationSystem.shutdown()Deprecated, for removal: This API element is subject to removal in a future version.Shutdown the activation system.static voidActivatable.unregister(ActivationID id)Deprecated, for removal: This API element is subject to removal in a future version.Revokes previous registration for the activation descriptor associated withid.voidActivationSystem.unregisterGroup(ActivationGroupID id)Deprecated, for removal: This API element is subject to removal in a future version.Remove the activation group.voidActivationSystem.unregisterObject(ActivationID id)Deprecated, for removal: This API element is subject to removal in a future version.Remove the activation id and associated descriptor previously registered with theActivationSystem; the object can no longer be activated via the object's activation id.Constructors in java.rmi.activation that throw RemoteExceptionModifierConstructorDescriptionprotectedActivatable(String location, MarshalledObject<?> data, boolean restart, int port)Deprecated, for removal: This API element is subject to removal in a future version.Constructs an activatable remote object by registering an activation descriptor (with the specified location, data, and restart mode) for this object, and exporting the object with the specified port.protectedActivatable(String location, MarshalledObject<?> data, boolean restart, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)Deprecated, for removal: This API element is subject to removal in a future version.Constructs an activatable remote object by registering an activation descriptor (with the specified location, data, and restart mode) for this object, and exporting the object with the specified port, and specified client and server socket factories.protectedActivatable(ActivationID id, int port)Deprecated, for removal: This API element is subject to removal in a future version.Constructor used to activate/export the object on a specified port.protectedActivatable(ActivationID id, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)Deprecated, for removal: This API element is subject to removal in a future version.Constructor used to activate/export the object on a specified port.protectedActivationGroup(ActivationGroupID groupID)Deprecated, for removal: This API element is subject to removal in a future version.Constructs an activation group with the given activation group identifier.
- 
Uses of RemoteException in java.rmi.dgcMethods in java.rmi.dgc that throw RemoteExceptionModifier and TypeMethodDescriptionvoidThe clean call removes the 'vmid' from the reference list of each remote object indicated in 'id's.The dirty call requests leases for the remote object references associated with the object identifiers contained in the array 'ids'.
- 
Uses of RemoteException in java.rmi.registryMethods in java.rmi.registry that throw RemoteExceptionModifier and TypeMethodDescriptionvoidBinds a remote reference to the specifiednamein this registry.static RegistryLocateRegistry.createRegistry(int port)Creates and exports aRegistryinstance on the local host that accepts requests on the specifiedport.static RegistryLocateRegistry.createRegistry(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)Creates and exports aRegistryinstance on the local host that uses custom socket factories for communication with that instance.static RegistryLocateRegistry.getRegistry()Returns a reference to the remote objectRegistryfor the local host on the default registry port of 1099.static RegistryLocateRegistry.getRegistry(int port)Returns a reference to the remote objectRegistryfor the local host on the specifiedport.static RegistryLocateRegistry.getRegistry(String host)Returns a reference to the remote objectRegistryon the specifiedhoston the default registry port of 1099.static RegistryLocateRegistry.getRegistry(String host, int port)Returns a reference to the remote objectRegistryon the specifiedhostandport.static RegistryLocateRegistry.getRegistry(String host, int port, RMIClientSocketFactory csf)Returns a locally created remote reference to the remote objectRegistryon the specifiedhostandport.String[]Registry.list()Returns an array of the names bound in this registry.Returns the remote reference bound to the specifiednamein this registry.voidReplaces the binding for the specifiednamein this registry with the supplied remote reference.RegistryHandler.registryImpl(int port)Deprecated.no replacement.RegistryHandler.registryStub(String host, int port)Deprecated.no replacement.voidRemoves the binding for the specifiednamein this registry.
- 
Uses of RemoteException in java.rmi.serverSubclasses of RemoteException in java.rmi.serverModifier and TypeClassDescriptionclassAnExportExceptionis aRemoteExceptionthrown if an attempt to export a remote object fails.classDeprecated.no replacement.classDeprecated.no replacement.classDeprecated.This class is obsolete.Methods in java.rmi.server that throw RemoteExceptionModifier and TypeMethodDescriptionvoidRemoteRef.done(RemoteCall call)Deprecated.1.2 style stubs no longer use this method.ServerRef.exportObject(Remote obj, Object data)Deprecated.Creates a client stub object for the supplied Remote object.static RemoteStubUnicastRemoteObject.exportObject(Remote obj)Deprecated.This method is deprecated because it supports only static stubs.static RemoteUnicastRemoteObject.exportObject(Remote obj, int port)Exports the remote object to make it available to receive incoming calls, using the particular supplied port.static RemoteUnicastRemoteObject.exportObject(Remote obj, int port, ObjectInputFilter filter)Exports the remote object to make it available to receive incoming calls, using the particular supplied port and filter.static RemoteUnicastRemoteObject.exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)Exports the remote object to make it available to receive incoming calls, using a transport specified by the given socket factory.static RemoteUnicastRemoteObject.exportObject(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf, ObjectInputFilter filter)Exports the remote object to make it available to receive incoming calls, using a transport specified by the given socket factory and filter.RemoteRef.newCall(RemoteObject obj, Operation[] op, int opnum, long hash)Deprecated.1.2 style stubs no longer use this method.Constructors in java.rmi.server that throw RemoteExceptionModifierConstructorDescriptionprotectedCreates and exports a new UnicastRemoteObject object using an anonymous port.protectedUnicastRemoteObject(int port)Creates and exports a new UnicastRemoteObject object using the particular supplied port.protectedUnicastRemoteObject(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)Creates and exports a new UnicastRemoteObject object using the particular supplied port and socket factories.
- 
Uses of RemoteException in javax.management.remote.rmiMethods in javax.management.remote.rmi that throw RemoteExceptionModifier and TypeMethodDescriptionRMIServer.getVersion()The version of the RMI Connector Protocol understood by this connector server.RMIServerImpl_Stub.getVersion()