Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (22 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/libjava/java/security/AccessControlException.java

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    11/* AccessControlException.java -- Permission is denied
    2    Copyright (C) 1998 Free Software Foundation, Inc.
     2   Copyright (C) 1998 Free Software Foundation, Inc.
    33
    44This file is part of GNU Classpath.
     
    4040/**
    4141 * This exception is thrown when the <code>AccessController</code> denies
    42  * an attempt to perform an operation.
     42 * an attempt to perform an operation. This often keeps track of the
     43 * permission that was not granted.
    4344 *
    44  * @version 0.0
    45  *
    46  * @author Aaron M. Renn ([email protected])
     45 * @
     46 *
     47 * @
    4748 */
    4849public class AccessControlException extends SecurityException
    4950{
    5051  /**
    51    * The <code>Permission</code> associated with this exception
     52   *
    5253   */
    53   private Permission perm;
     54  private ;
    5455
    5556  /**
    56    * This method initializes a new instance of <code>AccessControlException</code>
    57    * with a descriptive error message.  There will be no <code>Permission</code>
    58    * object associated with this exception.
     57   * The <code>Permission</code> associated with this exception.
    5958   *
    60    * @param msg The descriptive error message
     59   * @serial the permission
     60   */
     61  private final Permission perm;
     62
     63  /**
     64   * Create a new instance with a descriptive error message, and a null
     65   * <code>Permission</code> object.
     66   *
     67   * @param msg the descriptive error message
    6168   */
    6269  public AccessControlException(String msg)
    6370  {
    64     super(msg);
     71    );
    6572  }
    6673
    6774  /**
    68    * This method initializes a new instance of <code>AccessControlException</code>
    69    * with a descriptive error message and an instance of <code>Permission</code>
    70    * that is the permission that caused the exception to be thrown.
     75   * Create a new instance with a descriptive error message and an associated
     76   * <code>Permission</code> object.
    7177   *
    72    * @param msg The descriptive error message
    73    * @param perm The <code>Permission</code> object that caused this exception.
     78   * @param msg he descriptive error message
     79   * @param perm
    7480   */
    7581  public AccessControlException(String msg, Permission perm)
     
    8389   * this exception to be thrown.
    8490   *
    85    * @return The requested <code>Permission</code> object, or <code>null</code> if none is available.
     91   * @return
    8692   */
    8793  public Permission getPermission()
    8894  {
    89     return (perm);
     95    return ;
    9096  }
    9197}
Note: See TracChangeset for help on using the changeset viewer.