1. /*
  2. * @(#)ServerNotActiveException.java 1.10 00/02/02
  3. *
  4. * Copyright 1996-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.rmi.server;
  11. /**
  12. * An <code>ServerNotActiveException</code> is an <code>Exception</code>
  13. * thrown during a call to <code>RemoteServer.getClientHost</code> if
  14. * the getClientHost method is called outside of servicing a remote
  15. * method call.
  16. *
  17. * @version 1.10, 02/02/00
  18. * @author Roger Riggs
  19. * @since JDK1.1
  20. * @see java.rmi.server.RemoteServer#getClientHost()
  21. */
  22. public class ServerNotActiveException extends java.lang.Exception {
  23. /* indicate compatibility with JDK 1.1.x version of class */
  24. private static final long serialVersionUID = 4687940720827538231L;
  25. /**
  26. * Constructs an <code>ServerNotActiveException</code> with no specified
  27. * detail message.
  28. * @since JDK1.1
  29. */
  30. public ServerNotActiveException() {}
  31. /**
  32. * Constructs an <code>ServerNotActiveException</code> with the specified
  33. * detail message.
  34. *
  35. * @param s the detail message.
  36. * @since JDK1.1
  37. */
  38. public ServerNotActiveException(String s)
  39. {
  40. super(s);
  41. }
  42. }