diff options
Diffstat (limited to 'libjava/java/security/acl')
-rw-r--r-- | libjava/java/security/acl/AclNotFoundException.java | 15 | ||||
-rw-r--r-- | libjava/java/security/acl/LastOwnerException.java | 16 | ||||
-rw-r--r-- | libjava/java/security/acl/NotOwnerException.java | 14 |
3 files changed, 27 insertions, 18 deletions
diff --git a/libjava/java/security/acl/AclNotFoundException.java b/libjava/java/security/acl/AclNotFoundException.java index 4a234b9..a843fac1 100644 --- a/libjava/java/security/acl/AclNotFoundException.java +++ b/libjava/java/security/acl/AclNotFoundException.java @@ -1,5 +1,5 @@ -/* AclNotFoundException.java -- What it says - Copyright (C) 1998 Free Software Foundation, Inc. +/* AclNotFoundException.java -- thrown when an ACL is not found + Copyright (C) 1998, 2002 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -41,17 +41,20 @@ package java.security.acl; * This exception is thrown when a requested access control list (ACL) is * not found. * - * @version 0.0 - * - * @author Aaron M. Renn (arenn@urbanophile.com) + * @author Aaron M. Renn <arenn@urbanophile.com> + * @status updated to 1.4 */ public class AclNotFoundException extends Exception { /** + * Compatible with JDK 1.1+. + */ + private static final long serialVersionUID = 5684295034092681791L; + + /** * Initializes a new instance of this class with no descriptive message */ public AclNotFoundException() { - super(); } } diff --git a/libjava/java/security/acl/LastOwnerException.java b/libjava/java/security/acl/LastOwnerException.java index 6eb0ace..be28151 100644 --- a/libjava/java/security/acl/LastOwnerException.java +++ b/libjava/java/security/acl/LastOwnerException.java @@ -1,5 +1,5 @@ /* LastOwnerException.java -- User attempted to delete last ACL owner - Copyright (C) 1998 Free Software Foundation, Inc. + Copyright (C) 1998, 2002 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -41,18 +41,22 @@ package java.security.acl; * This exception is thrown when an attempt is made to delete the last owner * of an access control list (ACL) * - * @version 0.0 - * - * @author Aaron M. Renn (arenn@urbanophile.com) + * @author Aaron M. Renn <arenn@urbanophile.com> + * @see Owner#deleteOwner(java.security.Principal, java.security.Principal) + * @status updated to 1.4 */ -public class LastOwnerException extends java.lang.Exception +public class LastOwnerException extends Exception { /** + * Compatible with JDK 1.1+. + */ + private static final long serialVersionUID = -5141997548211140359L; + + /** * Initialize a new instance of <code>LastOwnerException</code> that does * not have a log message. */ public LastOwnerException() { - super(); } } diff --git a/libjava/java/security/acl/NotOwnerException.java b/libjava/java/security/acl/NotOwnerException.java index b17ac65..8b2739d 100644 --- a/libjava/java/security/acl/NotOwnerException.java +++ b/libjava/java/security/acl/NotOwnerException.java @@ -1,5 +1,5 @@ /* NotOwnerException.java -- Attempt to modify an unowned ACL - Copyright (C) 1998 Free Software Foundation, Inc. + Copyright (C) 1998, 2002 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -42,12 +42,15 @@ package java.security.acl; * the caller to be the owner of the access control list (ACL) when the caller * is in fact not the owner of the ACL. * - * @version 0.0 - * - * @author Aaron M. Renn (arenn@urbanophile.com) + * @author Aaron M. Renn <arenn@urbanophile.com> + * @status updated to 1.4 */ -public class NotOwnerException extends java.lang.Exception +public class NotOwnerException extends Exception { + /** + * Compatible with JDK 1.1+. + */ + private static final long serialVersionUID = -5555597911163362399L; /** * Initializes a new instance of <code>NotOwnerException</code> that does @@ -55,6 +58,5 @@ public class NotOwnerException extends java.lang.Exception */ public NotOwnerException() { - super(); } } |