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