public class StubNotFoundException extends RemoteException
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.UnicastRemoteObject
,
Activatable
,
Serialized Formdetail
Constructor and Description |
---|
StubNotFoundException(String s)
Constructs a
StubNotFoundException with the specified
detail message. |
StubNotFoundException(String s,
Exception ex)
Constructs a
StubNotFoundException with the specified
detail message and nested exception. |
getCause, getMessage
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public StubNotFoundException(String s)
StubNotFoundException
with the specified
detail message.s
- the detail message 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, 2013, Oracle and/or its affiliates. All rights reserved.