1. /*
  2. * @(#)ExportException.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.server;
  11. /**
  12. * An <code>ExportException</code> is a <code>RemoteException</code>
  13. * thrown if an attempt to export a remote object fails. A remote object is
  14. * exported via the constructors and <code>exportObject</code> methods of
  15. * <code>java.rmi.server.UnicastRemoteObject</code> and
  16. * <code>java.rmi.activation.Activatable</code>.
  17. *
  18. * @version 1.9, 02/02/00
  19. * @author Ann Wollrath
  20. * @since JDK1.1
  21. * @see java.rmi.server.UnicastRemoteObject
  22. * @see java.rmi.activation.Activatable
  23. */
  24. public class ExportException extends java.rmi.RemoteException {
  25. /* indicate compatibility with JDK 1.1.x version of class */
  26. private static final long serialVersionUID = -9155485338494060170L;
  27. /**
  28. * Constructs an <code>ExportException</code> with the specified
  29. * detail message.
  30. *
  31. * @param s the detail message
  32. * @since JDK1.1
  33. */
  34. public ExportException(String s) {
  35. super(s);
  36. }
  37. /**
  38. * Constructs an <code>ExportException</code> with the specified
  39. * detail message and nested exception.
  40. *
  41. * @param s the detail message
  42. * @param ex the nested exception
  43. * @since JDK1.1
  44. */
  45. public ExportException(String s, Exception ex) {
  46. super(s, ex);
  47. }
  48. }