From 1a4b27e82f736d70477d9d998542d5f2cb72121b Mon Sep 17 00:00:00 2001 From: Nathanael Nerode Date: Mon, 17 Jun 2002 19:11:40 +0000 Subject: 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 --- .../java/rmi/server/ServerNotActiveException.java | 47 +++++++++++++++------- 1 file changed, 33 insertions(+), 14 deletions(-) (limited to 'libjava/java/rmi/server/ServerNotActiveException.java') diff --git a/libjava/java/rmi/server/ServerNotActiveException.java b/libjava/java/rmi/server/ServerNotActiveException.java index 18c8e76bd3a..426d5e325a8 100644 --- a/libjava/java/rmi/server/ServerNotActiveException.java +++ b/libjava/java/rmi/server/ServerNotActiveException.java @@ -1,5 +1,5 @@ -/* - Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. +/* ServerNotActiveException.java -- the method is not servicing a remote call + 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 @@ -37,17 +37,36 @@ exception statement from your version. */ package java.rmi.server; -import java.lang.Exception; - -public class ServerNotActiveException - extends Exception { +/** + * Thrown during RemoteServer.getClientHost if the host is + * not servicing a remote method call. + * + * @author unknown + * @see RemoteServer#getClientHost() + * @since 1.1 + * @status updated to 1.4 + */ +public class ServerNotActiveException extends Exception +{ + /** + * Compatible with JDK 1.1+. + */ + private static final long serialVersionUID = 4687940720827538231L; -public ServerNotActiveException() { - super(); -} - -public ServerNotActiveException(String s) { - super(s); -} + /** + * Create an exception with no message. + */ + public ServerNotActiveException() + { + } + /** + * Create an exception with a message. + * + * @param s the message + */ + public ServerNotActiveException(String s) + { + super(s); + } } -- cgit v1.2.3