1. /*
  2. * @(#)ExportException.java 1.11 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.rmi.server;
  8. /**
  9. * An <code>ExportException</code> is a <code>RemoteException</code>
  10. * thrown if an attempt to export a remote object fails. A remote object is
  11. * exported via the constructors and <code>exportObject</code> methods of
  12. * <code>java.rmi.server.UnicastRemoteObject</code> and
  13. * <code>java.rmi.activation.Activatable</code>.
  14. *
  15. * @version 1.11, 01/23/03
  16. * @author Ann Wollrath
  17. * @since JDK1.1
  18. * @see java.rmi.server.UnicastRemoteObject
  19. * @see java.rmi.activation.Activatable
  20. */
  21. public class ExportException extends java.rmi.RemoteException {
  22. /* indicate compatibility with JDK 1.1.x version of class */
  23. private static final long serialVersionUID = -9155485338494060170L;
  24. /**
  25. * Constructs an <code>ExportException</code> with the specified
  26. * detail message.
  27. *
  28. * @param s the detail message
  29. * @since JDK1.1
  30. */
  31. public ExportException(String s) {
  32. super(s);
  33. }
  34. /**
  35. * Constructs an <code>ExportException</code> with the specified
  36. * detail message and nested exception.
  37. *
  38. * @param s the detail message
  39. * @param ex the nested exception
  40. * @since JDK1.1
  41. */
  42. public ExportException(String s, Exception ex) {
  43. super(s, ex);
  44. }
  45. }