Save This Page
Home » openjdk-7 » java » rmi » [javadoc | source]
java.rmi
public class: StubNotFoundException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.io.IOException
            java.rmi.RemoteException
               java.rmi.StubNotFoundException

All Implemented Interfaces:
    Serializable

A StubNotFoundException is thrown if a valid stub class could not be found for a remote object when it is exported. A StubNotFoundException may also be thrown when an activatable object is registered via the java.rmi.activation.Activatable.register method.
Fields inherited from java.rmi.RemoteException:
detail
Fields inherited from java.io.IOException:
serialVersionUID
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public StubNotFoundException(String s) 
    Constructs a StubNotFoundException with the specified detail message.
    Parameters:
    s - the detail message
    since: JDK1.1 -
 public StubNotFoundException(String s,
    Exception ex) 
    Constructs a StubNotFoundException with the specified detail message and nested exception.
    Parameters:
    s - the detail message
    ex - the nested exception
    since: JDK1.1 -
Methods from java.rmi.RemoteException:
getCause,   getMessage
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait