14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package java.security.acl;
27
28 /**
29 * This is an exception that is thrown whenever the modification of an object
30 * (such as an Access Control List) is only allowed to be done by an owner of
31 * the object, but the Principal attempting the modification is not an owner.
32 *
33 * @author Satish Dharmaraj
34 *
35 * @deprecated This package has been replaced by {@code java.security.Policy}
36 * and related classes since 1.2.
37 */
38 @Deprecated(since="9")
39 public class NotOwnerException extends Exception {
40
41 private static final long serialVersionUID = -5555597911163362399L;
42
43 /**
44 * Constructs a NotOwnerException.
45 */
46 public NotOwnerException() {
47 }
48 }
|
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package java.security.acl;
27
28 /**
29 * This is an exception that is thrown whenever the modification of an object
30 * (such as an Access Control List) is only allowed to be done by an owner of
31 * the object, but the Principal attempting the modification is not an owner.
32 *
33 * @author Satish Dharmaraj
34 * @since 1.1
35 *
36 * @deprecated This package has been replaced by {@code java.security.Policy}
37 * and related classes since 1.2.
38 */
39 @Deprecated(since="9")
40 public class NotOwnerException extends Exception {
41
42 private static final long serialVersionUID = -5555597911163362399L;
43
44 /**
45 * Constructs a NotOwnerException.
46 */
47 public NotOwnerException() {
48 }
49 }
|