1. /*
  2. * @(#)StubNotFoundException.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>StubNotFoundException</code> is thrown if a valid stub class
  13. * could not be found for a remote object when it is exported.
  14. * A <code>StubNotFoundException</code> may also be
  15. * thrown when an activatable object is registered via the
  16. * <code>java.rmi.activation.Activatable.register</code> method.
  17. *
  18. * @version 1.12, 02/02/00
  19. * @author Roger Riggs
  20. * @since JDK1.1
  21. * @see java.rmi.server.UnicastRemoteObject
  22. * @see java.rmi.activation.Activatable
  23. */
  24. public class StubNotFoundException extends RemoteException {
  25. /* indicate compatibility with JDK 1.1.x version of class */
  26. private static final long serialVersionUID = -7088199405468872373L;
  27. /**
  28. * Constructs a <code>StubNotFoundException</code> with the specified
  29. * detail message and nested exception.
  30. *
  31. * @param s the detail message
  32. * @since JDK1.1
  33. */
  34. public StubNotFoundException(String s) {
  35. super(s);
  36. }
  37. /**
  38. * Constructs a <code>StubNotFoundException</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 StubNotFoundException(String s, Exception ex) {
  46. super(s, ex);
  47. }
  48. }