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

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2003, 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, 2013, 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
*** 46,66 **** // the permission that caused the exeception to be thrown. private Permission perm; /** ! * Constructs an <code>AccessControlException</code> with the * specified, detailed message. * * @param s the detail message. */ public AccessControlException(String s) { super(s); } /** ! * Constructs an <code>AccessControlException</code> with the * specified, detailed message, and the requested permission that caused * the exception. * * @param s the detail message. * @param p the permission that caused the exception. --- 46,66 ---- // the permission that caused the exeception to be thrown. private Permission perm; /** ! * Constructs an {@code AccessControlException} with the * specified, detailed message. * * @param s the detail message. */ public AccessControlException(String s) { super(s); } /** ! * Constructs an {@code AccessControlException} with the * specified, detailed message, and the requested permission that caused * the exception. * * @param s the detail message. * @param p the permission that caused the exception.