KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > rmi > server > SkeletonNotFoundException


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
8 package java.rmi.server;
9
10 import java.rmi.RemoteException JavaDoc;
11
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.
17  *
18  * @version 1.16, 05/18/04
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 JavaDoc
24 public class SkeletonNotFoundException extends RemoteException JavaDoc {
25
26     /* indicate compatibility with JDK 1.1.x version of class */
27     private static final long serialVersionUID = -7860299673822761231L;
28
29     /**
30      * Constructs a <code>SkeletonNotFoundException</code> with the specified
31      * detail message.
32      *
33      * @param s the detail message.
34      * @since JDK1.1
35      */

36     public SkeletonNotFoundException(String JavaDoc s) {
37     super(s);
38     }
39
40     /**
41      * Constructs a <code>SkeletonNotFoundException</code> with the specified
42      * detail message and nested exception.
43      *
44      * @param s the detail message.
45      * @param ex the nested exception
46      * @since JDK1.1
47      */

48     public SkeletonNotFoundException(String JavaDoc s, Exception JavaDoc ex) {
49     super(s, ex);
50     }
51 }
52
Popular Tags