pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1646643 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/VisualSignatureParser.java
Date Fri, 19 Dec 2014 07:47:11 GMT
Author: tilman
Date: Fri Dec 19 07:47:10 2014
New Revision: 1646643

URL: http://svn.apache.org/r1646643
Log:
PDFBOX-2576: keep orginal stack trace when throwing new exception

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

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/VisualSignatureParser.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/VisualSignatureParser.java?rev=1646643&r1=1646642&r2=1646643&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/VisualSignatureParser.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/VisualSignatureParser.java
Fri Dec 19 07:47:10 2014
@@ -334,7 +334,7 @@ public class VisualSignatureParser exten
                             if(!thirdPossibleEndObj.equals("endobj")) 
                             {
                                 throw new IOException("expected='endobj' firstReadAttempt='"
+ endObjectKey + "' "
-                                        + "secondReadAttempt='" + secondEndObjectKey + "'
" + pdfSource);
+                                        + "secondReadAttempt='" + secondEndObjectKey + "'
" + pdfSource, e);
                             }
                         }
                     }



Mime
View raw message