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