home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / VCAFE.3.0A / Main.bin / SecurityException.java < prev    next >
Text File  |  1998-09-22  |  1KB  |  45 lines

  1. /*
  2.  * @(#)SecurityException.java    1.7 98/07/01
  3.  *
  4.  * Copyright 1995-1998 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.lang;
  15.  
  16. /**
  17.  * Thrown by the security manager to indicate a security violation. 
  18.  *
  19.  * @author  unascribed
  20.  * @version 1.7, 07/01/98
  21.  * @see     java.lang.SecurityManager
  22.  * @since   JDK1.0
  23.  */
  24. public class SecurityException extends RuntimeException {
  25.     /**
  26.      * Constructs a <code>SecurityException</code> with no detail  message.
  27.      *
  28.      * @since   JDK1.0
  29.      */
  30.     public SecurityException() {
  31.     super();
  32.     }
  33.  
  34.     /**
  35.      * Constructs a <code>SecurityException</code> with the specified 
  36.      * detail message. 
  37.      *
  38.      * @param   s   the detail message.
  39.      * @since   JDK1.0
  40.      */
  41.     public SecurityException(String s) {
  42.     super(s);
  43.     }
  44. }
  45.