remoteexception.html
来自「API資料大全」· HTML 代码 · 共 1,127 行 · 第 1/5 页
HTML
1,127 行
or by explicit call to the <code>exportObject</code> method of <code>UnicastRemoteObject</code> or <code>java.rmi.activation.Activatable</code>) does not have permission to create a <code>java.net.ServerSocket</code> on the port number specified during remote object export.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../java/rmi/server/package-summary.html">java.rmi.server</A> that throw <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../java/rmi/server/RemoteStub.html">RemoteStub</A></CODE></FONT></TD><TD><CODE><B>UnicastRemoteObject.</B><B><A HREF="../../../java/rmi/server/UnicastRemoteObject.html#exportObject(java.rmi.Remote)">exportObject</A></B>(<A HREF="../../../java/rmi/Remote.html">Remote</A> obj)</CODE><BR> Export the remote object to make it available to receive incoming calls, using an anonymous port.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../java/rmi/Remote.html">Remote</A></CODE></FONT></TD><TD><CODE><B>UnicastRemoteObject.</B><B><A HREF="../../../java/rmi/server/UnicastRemoteObject.html#exportObject(java.rmi.Remote, int)">exportObject</A></B>(<A HREF="../../../java/rmi/Remote.html">Remote</A> obj, int port)</CODE><BR> Export the remote object to make it available to receive incoming calls, using the particular supplied port.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../java/rmi/Remote.html">Remote</A></CODE></FONT></TD><TD><CODE><B>UnicastRemoteObject.</B><B><A HREF="../../../java/rmi/server/UnicastRemoteObject.html#exportObject(java.rmi.Remote, int, java.rmi.server.RMIClientSocketFactory, java.rmi.server.RMIServerSocketFactory)">exportObject</A></B>(<A HREF="../../../java/rmi/Remote.html">Remote</A> obj, int port, <A HREF="../../../java/rmi/server/RMIClientSocketFactory.html">RMIClientSocketFactory</A> csf, <A HREF="../../../java/rmi/server/RMIServerSocketFactory.html">RMIServerSocketFactory</A> ssf)</CODE><BR> Export the remote object to make it available to receive incoming calls, using a transport specified by the given socket factory.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/rmi/server/RemoteCall.html">RemoteCall</A></CODE></FONT></TD><TD><CODE><B>RemoteRef.</B><B><A HREF="../../../java/rmi/server/RemoteRef.html#newCall(java.rmi.server.RemoteObject, java.rmi.server.Operation[], int, long)">newCall</A></B>(<A HREF="../../../java/rmi/server/RemoteObject.html">RemoteObject</A> obj, <A HREF="../../../java/rmi/server/Operation.html">Operation</A>[] op, int opnum, long hash)</CODE><BR> <B>Deprecated.</B> <I>1.2 style stubs no longer use this method. Instead of using a sequence of method calls on the stub's the remote reference (<code>newCall</code>, <code>invoke</code>, and <code>done</code>), a stub uses a single method, <code>invoke(Remote, Method, Object[], int)</code>, on the remote reference to carry out parameter marshalling, remote method executing and unmarshalling of the return value. <p>1.2 stubs are generated using <code>rmic -v1.2</code>. By default, <code>rmic</code> generates stubs compatible with JDK1.1 and the Java 2 SDK. The compatible stubs can also be generated using <code>rmic -vcompat</code>.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>RemoteRef.</B><B><A HREF="../../../java/rmi/server/RemoteRef.html#done(java.rmi.server.RemoteCall)">done</A></B>(<A HREF="../../../java/rmi/server/RemoteCall.html">RemoteCall</A> call)</CODE><BR> <B>Deprecated.</B> <I>1.2 style stubs no longer use this method. Instead of using a sequence of method calls to the remote reference (<code>newCall</code>, <code>invoke</code>, and <code>done</code>), a stub uses a single method, <code>invoke(Remote, Method, Object[], int)</code>, on the remote reference to carry out parameter marshalling, remote method executing and unmarshalling of the return value. <p>1.2 stubs are generated using <code>rmic -v1.2</code>. By default, <code>rmic</code> generates stubs compatible with JDK1.1 and the Java 2 SDK. The compatible stubs can also be generated using <code>rmic -vcompat</code>.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/rmi/server/RemoteStub.html">RemoteStub</A></CODE></FONT></TD><TD><CODE><B>ServerRef.</B><B><A HREF="../../../java/rmi/server/ServerRef.html#exportObject(java.rmi.Remote, java.lang.Object)">exportObject</A></B>(<A HREF="../../../java/rmi/Remote.html">Remote</A> obj, <A HREF="../../../java/lang/Object.html">Object</A> data)</CODE><BR> Creates a client stub object for the supplied Remote object.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../java/rmi/server/package-summary.html">java.rmi.server</A> that throw <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/rmi/server/UnicastRemoteObject.html#UnicastRemoteObject()">UnicastRemoteObject</A></B>()</CODE><BR> Create and export a new UnicastRemoteObject object using an anonymous port.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/rmi/server/UnicastRemoteObject.html#UnicastRemoteObject(int)">UnicastRemoteObject</A></B>(int port)</CODE><BR> Create and export a new UnicastRemoteObject object using the particular supplied port.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/rmi/server/UnicastRemoteObject.html#UnicastRemoteObject(int, java.rmi.server.RMIClientSocketFactory, java.rmi.server.RMIServerSocketFactory)">UnicastRemoteObject</A></B>(int port, <A HREF="../../../java/rmi/server/RMIClientSocketFactory.html">RMIClientSocketFactory</A> csf, <A HREF="../../../java/rmi/server/RMIServerSocketFactory.html">RMIServerSocketFactory</A> ssf)</CODE><BR> Create and export a new UnicastRemoteObject object using the particular supplied port and socket factories.</TD></TR></TABLE> <P><A NAME="javax.rmi"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A> in <A HREF="../../../javax/rmi/package-summary.html">javax.rmi</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../javax/rmi/package-summary.html">javax.rmi</A> that throw <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B>PortableRemoteObject.</B><B><A HREF="../../../javax/rmi/PortableRemoteObject.html#exportObject(java.rmi.Remote)">exportObject</A></B>(<A HREF="../../../java/rmi/Remote.html">Remote</A> obj)</CODE><BR> Makes a server object ready to receive remote calls.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B>PortableRemoteObject.</B><B><A HREF="../../../javax/rmi/PortableRemoteObject.html#connect(java.rmi.Remote, java.rmi.Remote)">connect</A></B>(<A HREF="../../../java/rmi/Remote.html">Remote</A> target, <A HREF="../../../java/rmi/Remote.html">Remote</A> source)</CODE><BR> Makes a Remote object ready for remote communication.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../javax/rmi/package-summary.html">javax.rmi</A> that throw <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/rmi/PortableRemoteObject.html#PortableRemoteObject()">PortableRemoteObject</A></B>()</CODE><BR> Initializes the object by calling <code>exportObject(this)</code>.</TD></TR></TABLE> <P><A NAME="javax.rmi.CORBA"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A> in <A HREF="../../../javax/rmi/CORBA/package-summary.html">javax.rmi.CORBA</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../javax/rmi/CORBA/package-summary.html">javax.rmi.CORBA</A> that return <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></CODE></FONT></TD><TD><CODE><B>Util.</B><B><A HREF="../../../javax/rmi/CORBA/Util.html#mapSystemException(org.omg.CORBA.SystemException)">mapSystemException</A></B>(<A HREF="../../../org/omg/CORBA/SystemException.html">SystemException</A> ex)</CODE><BR> Maps a SystemException to a RemoteException.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></CODE></FONT></TD><TD><CODE><B>Util.</B><B><A HREF="../../../javax/rmi/CORBA/Util.html#wrapException(java.lang.Throwable)">wrapException</A></B>(<A HREF="../../../java/lang/Throwable.html">Throwable</A> orig)</CODE><BR> Wraps an exception thrown by an implementation method.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></CODE></FONT></TD><TD><CODE><B>UtilDelegate.</B><B><A HREF="../../../javax/rmi/CORBA/UtilDelegate.html#mapSystemException(org.omg.CORBA.SystemException)">mapSystemException</A></B>(<A HREF="../../../org/omg/CORBA/SystemException.html">SystemException</A> ex)</CODE><BR> Delegation call for <A HREF="../../../javax/rmi/CORBA/Util.html#mapSystemException(org.omg.CORBA.SystemException)"><CODE>Util.mapSystemException(org.omg.CORBA.SystemException)</CODE></A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/rmi/RemoteException.html">RemoteException</A></CODE></FONT></TD><TD><CODE><B>UtilDelegate.</B><B><A HREF="../../../javax/rmi/CORBA/UtilDelegate.html#wrapException(java.lang.Throwable)">wrapException</A></B>(<A HREF="../../../java/lang/Throwable.html">Throwable</A> obj)</CODE><BR> Delegation call for <A HREF="../../../javax/rmi/CORBA/Util.html#wrapException(java.lang.Throwable)"><CODE>Util.wrapException(ja
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?