1. /*
  2. * @(#)SkeletonNotFoundException.java 1.11 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. import java.rmi.RemoteException;
  12. /**
  13. * A <code>SkeletonNotFoundException</code> is thrown if the
  14. * <code>Skeleton</code> corresponding to the remote object being exported is
  15. * not found. Skeletons are not required in the Java 2 platform, so this exception is
  16. * never thrown if stubs are generated with <code>rmic -v1.2</code>. To
  17. * generate stubs and skeletons compatible with JDK1.1 and the Java 2 SDK, use
  18. * <code>rmic -vcompat</code> which is the default in the Java 2 SDK.
  19. *
  20. * @version 1.11, 02/02/00
  21. * @since JDK1.1
  22. * @deprecated no replacement. Skeletons are no longer required for remote
  23. * method calls in the Java 2 platform v1.2 and greater.
  24. */
  25. public class SkeletonNotFoundException extends RemoteException {
  26. /* indicate compatibility with JDK 1.1.x version of class */
  27. private static final long serialVersionUID = -7860299673822761231L;
  28. /**
  29. * Constructs a <code>SkeletonNotFoundException</code> with the specified
  30. * detail message.
  31. *
  32. * @param s the detail message.
  33. * @since JDK1.1
  34. */
  35. public SkeletonNotFoundException(String s) {
  36. super(s);
  37. }
  38. /**
  39. * Constructs a <code>SkeletonNotFoundException</code> with the specified
  40. * detail message and nested exception.
  41. *
  42. * @param s the detail message.
  43. * @param ex the nested exception
  44. * @since JDK1.1
  45. */
  46. public SkeletonNotFoundException(String s, Exception ex) {
  47. super(s, ex);
  48. }
  49. }