< prev index next >

## src/java.base/share/classes/java/security/AccessControlException.java

Print this page

    *** 1,7 ***
      /*
    !  * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
       * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       *
       * This code is free software; you can redistribute it and/or modify it
       * under the terms of the GNU General Public License version 2 only, as
       * published by the Free Software Foundation.  Oracle designates this
    --- 1,7 ---
      /*
    !  * Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
       * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       *
       * This code is free software; you can redistribute it and/or modify it
       * under the terms of the GNU General Public License version 2 only, as
       * published by the Free Software Foundation.  Oracle designates this

    *** 44,11 ***
      public class AccessControlException extends SecurityException {

          @java.io.Serial
          private static final long serialVersionUID = 5138225684096988535L;

    !     // the permission that caused the exception to be thrown.
          private Permission perm;

          /**
           * Constructs an {@code AccessControlException} with the
           * specified, detailed message.
    --- 44,13 ---
      public class AccessControlException extends SecurityException {

          @java.io.Serial
          private static final long serialVersionUID = 5138225684096988535L;

    !     /**
    +      * The permission that caused the exception to be thrown.
    +      */
          private Permission perm;

          /**
           * Constructs an {@code AccessControlException} with the
           * specified, detailed message.

< prev index next >