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