java.rmi.server
Class ExportException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.io.IOException
|
+--java.rmi.RemoteException
|
+--java.rmi.server.ExportException
- All Implemented Interfaces:
- java.io.Serializable
- public class ExportException
- extends RemoteException
An ExportException
is a RemoteException
thrown if an attempt to export a remote object fails. A remote object is
exported via the constructors and exportObject
methods of
java.rmi.server.UnicastRemoteObject
and
java.rmi.activation.Activatable
.
See the following J2SE API:
java.rmi.activation.Activatable
- Since:
- JDK1.1
- See Also:
UnicastRemoteObject
, Serialized Form
Constructor Summary |
ExportException(java.lang.String s)
Constructs an ExportException with the specified
detail message. |
ExportException(java.lang.String s,
java.lang.Exception ex)
Constructs an ExportException with the specified
detail message and nested exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExportException
public ExportException(java.lang.String s)
- Constructs an
ExportException
with the specified
detail message.
- Parameters:
s
- the detail message- Since:
- JDK1.1
ExportException
public ExportException(java.lang.String s,
java.lang.Exception ex)
- Constructs an
ExportException
with the specified
detail message and nested exception.
- Parameters:
s
- the detail messageex
- the nested exception- Since:
- JDK1.1
Copyright 1994-2002 Sun Microsystems, Inc. All Rights Reserved.