pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1656255 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDDestination.java
Date Sat, 31 Jan 2015 22:57:27 GMT
Author: tilman
Date: Sat Jan 31 22:57:27 2015
New Revision: 1656255

URL: http://svn.apache.org/r1656255
Log:
PDFBOX-2651: improve error message on bad destination

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDDestination.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDDestination.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDDestination.java?rev=1656255&r1=1656254&r2=1656255&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDDestination.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDDestination.java
Sat Jan 31 22:57:27 2015
@@ -81,7 +81,7 @@ public abstract class PDDestination impl
             }
             else
             {
-                throw new IOException( "Unknown destination type:" + type );
+                throw new IOException( "Unknown destination type: " + type.getName() );
             }
         }
         else if( base instanceof COSString )
@@ -104,6 +104,7 @@ public abstract class PDDestination impl
      *
      * @return A human readable string.
      */
+    @Override
     public String toString()
     {
         return super.toString();



Mime
View raw message