pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1652306 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java
Date Thu, 15 Jan 2015 23:07:29 GMT
Author: tilman
Date: Thu Jan 15 23:07:29 2015
New Revision: 1652306

URL: http://svn.apache.org/r1652306
Log:
PDFBOX-2576: remove unchecked exceptions

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java?rev=1652306&r1=1652305&r2=1652306&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java
Thu Jan 15 23:07:29 2015
@@ -1010,13 +1010,12 @@ public class NonSequentialPDFParser exte
     /**
      * Change the parser leniency flag.
      *
-     * This method can only be called before the parsing of the file.
+     * This method can only be called before the parsing of the file, or an
+     * IllegalArgumentException will be thrown.
      *
      * @param lenient try to handle malformed PDFs.
-     *
-     * @throws IllegalArgumentException if the method is called after parsing.
      */
-    public void setLenient(boolean lenient) throws IllegalArgumentException
+    public void setLenient(boolean lenient)
     {
         if (initialParseDone)
         {



Mime
View raw message