< prev index next >

src/java.desktop/share/classes/java/awt/print/PrinterJob.java

Print this page

        

@@ -575,10 +575,12 @@
     public abstract int getCopies();
 
     /**
      * Gets the name of the printing user.
      * @return the name of the printing user
+     * @throws AccessControlException if a security manager exists and
+     *         PropertyPermission - user.name is not given in the policy file
      */
     public abstract String getUserName();
 
     /**
      * Sets the name of the document to be printed.
< prev index next >