/* * @(#)RMISecurityException.java 1.16 04/05/18 * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package java.rmi; /** * An RMISecurityException signals that a security exception * has occurred during the execution of one of * java.rmi.RMISecurityManager's methods. * * @version 1.16, 05/18/04 * @author Roger Riggs * @since JDK1.1 * @deprecated Use {@link java.lang.SecurityException} instead. * Application code should never directly reference this class, and * RMISecurityManager no longer throws this subclass of * java.lang.SecurityException. */ @Deprecated public class RMISecurityException extends java.lang.SecurityException { /* indicate compatibility with JDK 1.1.x version of class */ private static final long serialVersionUID = -8433406075740433514L; /** * Construct an RMISecurityException with a detail message. * @param name the detail message * @since JDK1.1 * @deprecated no replacement */ @Deprecated public RMISecurityException(String name) { super(name); } /** * Construct an RMISecurityException with a detail message. * @param name the detail message * @param arg ignored * @since JDK1.1 * @deprecated no replacement */ @Deprecated public RMISecurityException(String name, String arg) { this(name); } }