src/share/classes/java/sql/SQLPermission.java

Print this page

        

*** 120,130 **** * Creates a new <code>SQLPermission</code> object with the specified name. * The name is the symbolic name of the <code>SQLPermission</code>. * * @param name the name of this <code>SQLPermission</code> object, which must * be either {@code setLog}, {@code callAbort}, {@code setSyncFactory}, ! * or {@code setNetworkTimeout} * @throws NullPointerException if <code>name</code> is <code>null</code>. * @throws IllegalArgumentException if <code>name</code> is empty. */ --- 120,130 ---- * Creates a new <code>SQLPermission</code> object with the specified name. * The name is the symbolic name of the <code>SQLPermission</code>. * * @param name the name of this <code>SQLPermission</code> object, which must * be either {@code setLog}, {@code callAbort}, {@code setSyncFactory}, ! * {@code deregisterDriver}, or {@code setNetworkTimeout} * @throws NullPointerException if <code>name</code> is <code>null</code>. * @throws IllegalArgumentException if <code>name</code> is empty. */
*** 138,148 **** * actions <code>String</code> is currently unused and should be * <code>null</code>. * * @param name the name of this <code>SQLPermission</code> object, which must * be either {@code setLog}, {@code callAbort}, {@code setSyncFactory}, ! * or {@code setNetworkTimeout} * @param actions should be <code>null</code> * @throws NullPointerException if <code>name</code> is <code>null</code>. * @throws IllegalArgumentException if <code>name</code> is empty. */ --- 138,148 ---- * actions <code>String</code> is currently unused and should be * <code>null</code>. * * @param name the name of this <code>SQLPermission</code> object, which must * be either {@code setLog}, {@code callAbort}, {@code setSyncFactory}, ! * {@code deregisterDriver}, or {@code setNetworkTimeout} * @param actions should be <code>null</code> * @throws NullPointerException if <code>name</code> is <code>null</code>. * @throws IllegalArgumentException if <code>name</code> is empty. */