- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.io.IOException
- 
- java.rmi.RemoteException
- 
- java.rmi.NoSuchObjectException
 
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class NoSuchObjectException extends RemoteException ANoSuchObjectExceptionis thrown if an attempt is made to invoke a method on an object that no longer exists in the remote virtual machine. If aNoSuchObjectExceptionoccurs attempting to invoke a method on a remote object, the call may be retransmitted and still preserve RMI's "at most once" call semantics. ANoSuchObjectExceptionis also thrown by the methodjava.rmi.server.RemoteObject.toStuband by theunexportObjectmethods ofjava.rmi.server.UnicastRemoteObjectandjava.rmi.activation.Activatableand
- 
- 
Field Summary- 
Fields declared in class java.rmi.RemoteExceptiondetail
 
- 
 - 
Constructor SummaryConstructors Constructor Description NoSuchObjectException(String s)Constructs aNoSuchObjectExceptionwith the specified detail message.
 - 
Method Summary- 
Methods declared in class java.rmi.RemoteExceptiongetCause, getMessage
 - 
Methods declared in class java.lang.ThrowableaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
NoSuchObjectExceptionpublic NoSuchObjectException(String s) Constructs aNoSuchObjectExceptionwith the specified detail message.- Parameters:
- s- the detail message
- Since:
- 1.1
 
 
- 
 
-