diff options
author | Nathanael Nerode <neroden@twcny.rr.com> | 2002-06-17 19:11:40 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2002-06-17 19:11:40 +0000 |
commit | 1a4b27e82f736d70477d9d998542d5f2cb72121b (patch) | |
tree | 72322c6968c8d01f3b23ae417d736e189f680948 /libjava/java/rmi/server/SkeletonNotFoundException.java | |
parent | df696a75734ea7998d0d5ef75cbafba8be33c908 (diff) | |
download | gcc-1a4b27e82f736d70477d9d998542d5f2cb72121b.zip gcc-1a4b27e82f736d70477d9d998542d5f2cb72121b.tar.gz gcc-1a4b27e82f736d70477d9d998542d5f2cb72121b.tar.bz2 |
ActivateFailedException.java: Remerge from Classpath version.
* 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.
From-SVN: r54711
Diffstat (limited to 'libjava/java/rmi/server/SkeletonNotFoundException.java')
-rw-r--r-- | libjava/java/rmi/server/SkeletonNotFoundException.java | 51 |
1 files changed, 39 insertions, 12 deletions
diff --git a/libjava/java/rmi/server/SkeletonNotFoundException.java b/libjava/java/rmi/server/SkeletonNotFoundException.java index 5c4fb4b..41819d9 100644 --- a/libjava/java/rmi/server/SkeletonNotFoundException.java +++ b/libjava/java/rmi/server/SkeletonNotFoundException.java @@ -1,5 +1,5 @@ -/* - Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. +/* SkeletonNotFoundException.java -- thrown if a Skeleton is not found + 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,42 @@ package java.rmi.server; import java.rmi.RemoteException; -public class SkeletonNotFoundException - extends RemoteException { - -public SkeletonNotFoundException(String s) { - super(s); -} +/** + * Thrown if a Skeleton corresponding to the remote object is not found. + * Note that Skeletons are no longer required. + * + * @author unknown + * @since 1.1 + * @deprecated no replacement. Skeletons are no longer required. + * @status updated to 1.4 + */ +public class SkeletonNotFoundException extends RemoteException +{ + /** + * Compatible with JDK 1.1. + */ + private static final long serialVersionUID = -7860299673822761231L; -public SkeletonNotFoundException(String s, Exception e) { - super(s, e); -} + /** + * Create an exception with the specified message. + * + * @param s the message + * @deprecated no longer needed + */ + public SkeletonNotFoundException(String s) + { + super(s); + } + /** + * Create an exception with the specified message and cause. + * + * @param s the message + * @param e the cause + * @deprecated no longer needed + */ + public SkeletonNotFoundException(String s, Exception e) + { + super(s, e); + } } |