1. /*
  2. * @(#)ServerRuntimeException.java 1.9 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.rmi;
  8. /**
  9. * A <code>ServerRuntimeException</code> is thrown as a result of a remote
  10. * method call if the execution of the remote method on the server machine
  11. * throws a <code>java.lang.RuntimeException</code>.
  12. * A <code>ServerRuntimeException</code> is not thrown from servers executing
  13. * in JDK1.2 or later versions.
  14. *
  15. * @version 1.9, 11/29/01
  16. * @author Ann Wollrath
  17. * @since JDK1.1
  18. * @deprecated no replacement
  19. */
  20. public class ServerRuntimeException extends RemoteException {
  21. /* indicate compatibility with JDK 1.1.x version of class */
  22. private static final long serialVersionUID = 7054464920481467219L;
  23. /**
  24. * Constructs a <code>ServerRuntimeException</code> with the specified
  25. * detail message and nested exception.
  26. *
  27. * @param s the detail message
  28. * @param ex the nested exception
  29. * @deprecated no replacement
  30. * @since JDK1.1
  31. */
  32. public ServerRuntimeException(String s, Exception ex) {
  33. super(s, ex);
  34. }
  35. }