home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 November / Chip_1998-11_cd.bin / tema / Cafe / main.bin / SecurityException.java < prev    next >
Text File  |  1997-05-20  |  2KB  |  53 lines

  1. /*
  2.  * @(#)SecurityException.java    1.6 97/01/20
  3.  * 
  4.  * Copyright (c) 1995, 1996 Sun Microsystems, Inc. All Rights Reserved.
  5.  * 
  6.  * This software is the confidential and proprietary information of Sun
  7.  * Microsystems, Inc. ("Confidential Information").  You shall not
  8.  * disclose such Confidential Information and shall use it only in
  9.  * accordance with the terms of the license agreement you entered into
  10.  * with Sun.
  11.  * 
  12.  * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
  13.  * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  14.  * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  15.  * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
  16.  * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
  17.  * THIS SOFTWARE OR ITS DERIVATIVES.
  18.  * 
  19.  * CopyrightVersion 1.1_beta
  20.  * 
  21.  */
  22. package java.lang;
  23.  
  24. /**
  25.  * Thrown by the security manager to indicate a security violation. 
  26.  *
  27.  * @author  unascribed
  28.  * @version 1.6, 01/20/97
  29.  * @see     java.lang.SecurityManager
  30.  * @since   JDK1.0
  31.  */
  32. public class SecurityException extends RuntimeException {
  33.     /**
  34.      * Constructs a <code>SecurityException</code> with no detail  message.
  35.      *
  36.      * @since   JDK1.0
  37.      */
  38.     public SecurityException() {
  39.     super();
  40.     }
  41.  
  42.     /**
  43.      * Constructs a <code>SecurityException</code> with the specified 
  44.      * detail message. 
  45.      *
  46.      * @param   s   the detail message.
  47.      * @since   JDK1.0
  48.      */
  49.     public SecurityException(String s) {
  50.     super(s);
  51.     }
  52. }
  53.