home *** CD-ROM | disk | FTP | other *** search
Java Source | 1998-03-20 | 1.2 KB | 42 lines |
- /*
- * @(#)RMISecurityException.java 1.6 98/03/18
- *
- * Copyright 1996, 1997 by Sun Microsystems, Inc.,
- * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
- * All rights reserved.
- *
- * This software is the confidential and proprietary information
- * of Sun Microsystems, Inc. ("Confidential Information"). You
- * shall not disclose such Confidential Information and shall use
- * it only in accordance with the terms of the license agreement
- * you entered into with Sun.
- */
- package java.rmi;
-
- /**
- * An <code>RMISecurityException</code> signals that a security exception
- * has occurred.
- */
- 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 <code>RMISecurityException</code> with a detail message.
- * @param s the detail message
- */
- public RMISecurityException(String name) {
- super(name);
- }
-
- /**
- * Construct an <code>RMISecurityException</code> with a detail message.
- * @param s the detail message
- * @param arg ignored
- */
- public RMISecurityException(String name, String arg) {
- this(name);
- }
- }
-