1. /*
  2. * @(#)SkeletonMismatchException.java 1.15 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. * This exception is thrown when a call is received that does not
  11. * match the available skeleton. It indicates either that the
  12. * remote method names or signatures in this interface have changed or
  13. * that the stub class used to make the call and the skeleton
  14. * receiving the call were not generated by the same version of
  15. * the stub compiler (<code>rmic</code>).
  16. *
  17. * @version 1.15, 05/18/04
  18. * @author Roger Riggs
  19. * @since JDK1.1
  20. * @deprecated no replacement. Skeletons are no longer required for remote
  21. * method calls in the Java 2 platform v1.2 and greater.
  22. */
  23. @Deprecated
  24. public class SkeletonMismatchException extends RemoteException {
  25. /* indicate compatibility with JDK 1.1.x version of class */
  26. private static final long serialVersionUID = -7780460454818859281L;
  27. /**
  28. * Constructs a new <code>SkeletonMismatchException</code> with
  29. * a specified detail message.
  30. *
  31. * @param s the detail message
  32. * @since JDK1.1
  33. * @deprecated no replacement
  34. */
  35. @Deprecated
  36. public SkeletonMismatchException(String s) {
  37. super(s);
  38. }
  39. }