KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > rmi > RMISecurityException


1 /*
2  * @(#)RMISecurityException.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;
8
9 /**
10  * An <code>RMISecurityException</code> signals that a security exception
11  * has occurred during the execution of one of
12  * <code>java.rmi.RMISecurityManager</code>'s methods.
13  *
14  * @version 1.16, 05/18/04
15  * @author Roger Riggs
16  * @since JDK1.1
17  * @deprecated Use {@link java.lang.SecurityException} instead.
18  * Application code should never directly reference this class, and
19  * <code>RMISecurityManager</code> no longer throws this subclass of
20  * <code>java.lang.SecurityException</code>.
21  */

22 @Deprecated JavaDoc
23 public class RMISecurityException extends java.lang.SecurityException JavaDoc {
24
25     /* indicate compatibility with JDK 1.1.x version of class */
26      private static final long serialVersionUID = -8433406075740433514L;
27
28     /**
29      * Construct an <code>RMISecurityException</code> with a detail message.
30      * @param name the detail message
31      * @since JDK1.1
32      * @deprecated no replacement
33      */

34     @Deprecated JavaDoc
35     public RMISecurityException(String JavaDoc name) {
36     super(name);
37     }
38
39     /**
40      * Construct an <code>RMISecurityException</code> with a detail message.
41      * @param name the detail message
42      * @param arg ignored
43      * @since JDK1.1
44      * @deprecated no replacement
45      */

46     @Deprecated JavaDoc
47     public RMISecurityException(String JavaDoc name, String JavaDoc arg) {
48     this(name);
49     }
50 }
51
Popular Tags