1. /*
  2. * @(#)SkeletonNotFoundException.java 1.16 04/05/18
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.rmi.server;
  8. import java.rmi.RemoteException;
  9. /**
  10. * A <code>SkeletonNotFoundException</code> is thrown if the
  11. * <code>Skeleton</code> corresponding to the remote object being exported is
  12. * not found. Skeletons are not required in the Java 2 platform, so this exception is
  13. * never thrown.
  14. *
  15. * @version 1.16, 05/18/04
  16. * @since JDK1.1
  17. * @deprecated no replacement. Skeletons are no longer required for remote
  18. * method calls in the Java 2 platform v1.2 and greater.
  19. */
  20. @Deprecated
  21. public class SkeletonNotFoundException extends RemoteException {
  22. /* indicate compatibility with JDK 1.1.x version of class */
  23. private static final long serialVersionUID = -7860299673822761231L;
  24. /**
  25. * Constructs a <code>SkeletonNotFoundException</code> with the specified
  26. * detail message.
  27. *
  28. * @param s the detail message.
  29. * @since JDK1.1
  30. */
  31. public SkeletonNotFoundException(String s) {
  32. super(s);
  33. }
  34. /**
  35. * Constructs a <code>SkeletonNotFoundException</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 SkeletonNotFoundException(String s, Exception ex) {
  43. super(s, ex);
  44. }
  45. }