1. /*
  2. * @(#)ServerError.java 1.9 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>ServerError</code> is thrown as a result of a remote method call
  13. * if the execution of the remote method on the server machine throws a
  14. * <code>java.lang.Error</code>. The <code>ServerError</code> contains
  15. * a nested exception which is the <code>java.lang.Error</code> that
  16. * occurred during remote method execution.
  17. *
  18. * @version 1.9, 02/02/00
  19. * @author Ann Wollrath
  20. * @since JDK1.1
  21. */
  22. public class ServerError extends RemoteException {
  23. /** indicate compatibility with JDK 1.1.x version of class */
  24. private static final long serialVersionUID = 8455284893909696482L;
  25. /**
  26. * Constructs a <code>ServerError</code> with the specified
  27. * detail message and nested error.
  28. *
  29. * @param s the detail message
  30. * @param err the nested error
  31. * @since JDK1.1
  32. */
  33. public ServerError(String s, Error err) {
  34. super(s, err);
  35. }
  36. }