- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- java.rmi.RemoteException
-
- java.rmi.StubNotFoundException
-
- All Implemented Interfaces:
-
Serializable
public class StubNotFoundException extends RemoteException
如果远程对象导出时无法找到有效的存根类,则抛出StubNotFoundException
。 当通过java.rmi.activation.Activatable.register
方法注册可激活对象时,也可以抛出AStubNotFoundException
。- 从以下版本开始:
- 1.1
- 另请参见:
-
UnicastRemoteObject
,Activatable
, Serialized Form
-
-
Field Summary
-
Fields inherited from class java.rmi.RemoteException
detail
-
-
构造方法摘要
构造方法 Constructor 描述 StubNotFoundException(String s)
构造具有指定详细消息的StubNotFoundException
。StubNotFoundException(String s, 异常 ex)
构造具有指定的详细消息和嵌套异常的StubNotFoundException
。
-
方法摘要
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.rmi.RemoteException
getCause, getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-