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