home *** CD-ROM | disk | FTP | other *** search
/ Java 1.2 How-To / JavaHowTo.iso / 3rdParty / jbuilder / unsupported / JDK1.2beta3 / SOURCE / SRC.ZIP / java / rmi / RMISecurityException.java < prev    next >
Encoding:
Java Source  |  1998-03-20  |  1.2 KB  |  42 lines

  1. /*
  2.  * @(#)RMISecurityException.java    1.6 98/03/18
  3.  *
  4.  * Copyright 1996, 1997 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  *
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14. package java.rmi;
  15.  
  16. /**
  17.  * An <code>RMISecurityException</code> signals that a security exception
  18.  * has occurred.
  19.  */
  20. public class RMISecurityException extends java.lang.SecurityException {
  21.  
  22.     /* indicate compatibility with JDK 1.1.x version of class */
  23.      private static final long serialVersionUID = -8433406075740433514L;
  24.  
  25.     /**
  26.      * Construct an <code>RMISecurityException</code> with a detail message.
  27.      * @param s the detail message
  28.      */
  29.     public RMISecurityException(String name) {
  30.     super(name);
  31.     }
  32.  
  33.     /**
  34.      * Construct an <code>RMISecurityException</code> with a detail message.
  35.      * @param s the detail message
  36.      * @param arg ignored
  37.      */
  38.     public RMISecurityException(String name, String arg) {
  39.     this(name);
  40.     }
  41. }
  42.