pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1792781 - /pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDNumberTreeNode.java
Date Wed, 26 Apr 2017 17:33:49 GMT
Author: tilman
Date: Wed Apr 26 17:33:49 2017
New Revision: 1792781

URL: http://svn.apache.org/viewvc?rev=1792781&view=rev
Log:
PDFBOX-3766: revert all changes to exception handling

Modified:
    pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDNumberTreeNode.java

Modified: pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDNumberTreeNode.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDNumberTreeNode.java?rev=1792781&r1=1792780&r2=1792781&view=diff
==============================================================================
--- pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDNumberTreeNode.java
(original)
+++ pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDNumberTreeNode.java
Wed Apr 26 17:33:49 2017
@@ -219,7 +219,7 @@ public class PDNumberTreeNode implements
         {
             return valueType.getDeclaredConstructor( new Class[] { base.getClass() } ).newInstance(
new Object[] { base } );
         }
-        catch( ReflectiveOperationException t )
+        catch( Throwable t )
         {
             throw new IOException( "Error while trying to create value in number tree:" +
t.getMessage());
         }



Mime
View raw message