- Timestamp:
- Apr 27, 2004, 8:39:34 PM (22 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
libjava/java/security/AccessControlException.java (modified) (3 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/libjava/java/security/AccessControlException.java
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 1 1 /* AccessControlException.java -- Permission is denied 2 Copyright (C) 1998 Free Software Foundation, Inc.2 Copyright (C) 1998 Free Software Foundation, Inc. 3 3 4 4 This file is part of GNU Classpath. … … 40 40 /** 41 41 * 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. 43 44 * 44 * @ version 0.045 * 46 * @ author Aaron M. Renn ([email protected])45 * @ 46 * 47 * @ 47 48 */ 48 49 public class AccessControlException extends SecurityException 49 50 { 50 51 /** 51 * The <code>Permission</code> associated with this exception52 * 52 53 */ 53 private Permission perm;54 private ; 54 55 55 56 /** 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. 59 58 * 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 61 68 */ 62 69 public AccessControlException(String msg) 63 70 { 64 super(msg);71 ); 65 72 } 66 73 67 74 /** 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. 71 77 * 72 * @param msg The descriptive error message73 * @param perm The <code>Permission</code> object that caused this exception.78 * @param msg he descriptive error message 79 * @param perm 74 80 */ 75 81 public AccessControlException(String msg, Permission perm) … … 83 89 * this exception to be thrown. 84 90 * 85 * @return The requested <code>Permission</code> object, or <code>null</code> if none is available.91 * @return 86 92 */ 87 93 public Permission getPermission() 88 94 { 89 return (perm);95 return ; 90 96 } 91 97 } -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
