1. /*
  2. * @(#)ServerRuntimeException.java 1.12 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;
  11. /**
  12. * A <code>ServerRuntimeException</code> is thrown as a result of a remote
  13. * method call if the execution of the remote method on the server machine
  14. * throws a <code>java.lang.RuntimeException</code>.
  15. * A <code>ServerRuntimeException</code> is not thrown from servers executing
  16. * in the Java 2 SDK v1.2 or later versions.
  17. *
  18. * @version 1.12, 02/02/00
  19. * @author Ann Wollrath
  20. * @since JDK1.1
  21. * @deprecated no replacement
  22. */
  23. public class ServerRuntimeException extends RemoteException {
  24. /* indicate compatibility with JDK 1.1.x version of class */
  25. private static final long serialVersionUID = 7054464920481467219L;
  26. /**
  27. * Constructs a <code>ServerRuntimeException</code> with the specified
  28. * detail message and nested exception.
  29. *
  30. * @param s the detail message
  31. * @param ex the nested exception
  32. * @deprecated no replacement
  33. * @since JDK1.1
  34. */
  35. public ServerRuntimeException(String s, Exception ex) {
  36. super(s, ex);
  37. }
  38. }