Name

StubNotFoundException

Synopsis

This exception can occur either when an object is being exported to participate in remote RMI calls, or during a remote method call. During export on the server, this exception is thrown if the stub class for the object can’t be found or used for some reason (e.g., the stub class isn’t in the CLASSPATH of the server process, or the stub class can’t be instantiated). During a remote method call, the client can receive this exception if the remote object hasn’t been exported completely or correctly.

                  
public class StubNotFoundException extends RemoteException {
// Public Constructors
   public StubNotFoundException( String s);  
   public StubNotFoundException( String s, Exception ex);  
}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.