summaryrefslogtreecommitdiffstats
path: root/libjava/java/rmi/server/ExportException.java
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-17 19:11:40 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-17 19:11:40 +0000
commit5e988977a11731a7d2cac5a1f8ccd700576fb3cf (patch)
tree72322c6968c8d01f3b23ae417d736e189f680948 /libjava/java/rmi/server/ExportException.java
parent4781f9b972491fdc09da6dedcdb5050ad2621340 (diff)
downloadppe42-gcc-5e988977a11731a7d2cac5a1f8ccd700576fb3cf.tar.gz
ppe42-gcc-5e988977a11731a7d2cac5a1f8ccd700576fb3cf.zip
* java/rmi/activation/ActivateFailedException.java: Remerge from
Classpath version. * java/rmi/activation/ActivationException.java: Ditto. * java/rmi/activation/UnknownGroupException.java: Ditto. * java/rmi/activation/UnknownObjectException.java: Ditto. * java/rmi/server/ExportException: Ditto. * java/rmi/server/ServerCloneException: Ditto. * java/rmi/server/ServerNotActiveException: Ditto. * java/rmi/server/SkeletonMismatchException: Ditto. * java/rmi/server/SkeletonNotFoundException: Ditto. * java/rmi/server/SocketSecurityException: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54711 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/rmi/server/ExportException.java')
-rw-r--r--libjava/java/rmi/server/ExportException.java49
1 files changed, 37 insertions, 12 deletions
diff --git a/libjava/java/rmi/server/ExportException.java b/libjava/java/rmi/server/ExportException.java
index 7bb8f16445e..20e565c7372 100644
--- a/libjava/java/rmi/server/ExportException.java
+++ b/libjava/java/rmi/server/ExportException.java
@@ -1,5 +1,5 @@
-/*
- Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* ExportException.java -- an export attempt failed
+ Copyright (c) 1996, 1997, 1998, 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
-
+
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
@@ -39,15 +39,40 @@ package java.rmi.server;
import java.rmi.RemoteException;
-public class ExportException
- extends RemoteException {
-
-public ExportException(String s) {
- super(s);
-}
+/**
+ * Thrown if an attempt to export a remote object fails.
+ *
+ * @author unknown
+ * @see UnicastRemoteObject
+ * @see Activatable
+ * @since 1.1
+ * @status updated to 1.4
+ */
+public class ExportException extends RemoteException
+{
+ /**
+ * Compatible with JDK 1.1+.
+ */
+ private static final long serialVersionUID = -9155485338494060170L;
-public ExportException(String s, Exception e) {
- super(s, e);
-}
+ /**
+ * Create an exception with the specified message.
+ *
+ * @param s the message
+ */
+ public ExportException(String s)
+ {
+ super(s);
+ }
+ /**
+ * Create an exception with the specified message and cause.
+ *
+ * @param s the message
+ * @param e the cause
+ */
+ public ExportException(String s, Exception e)
+ {
+ super(s, e);
+ }
}
OpenPOWER on IntegriCloud