]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fixed copy/paste error. A confusing error message was constructed when the embedFile...
authorJeremias Maerki <jeremias@apache.org>
Tue, 11 Feb 2003 09:26:23 +0000 (09:26 +0000)
committerJeremias Maerki <jeremias@apache.org>
Tue, 11 Feb 2003 09:26:23 +0000 (09:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_20_2-maintain@195936 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/configuration/FontInfo.java

index 2340e15a32cc9e85f4db7b81d1d3a2d4ab44e5fe..b9df4a6be985407d2f40477676c781a726623065 100644 (file)
@@ -44,7 +44,8 @@ public class FontInfo {
         try {
             return URLBuilder.buildURL(Configuration.getFontBaseURL(), metricsFile);
         } catch (Exception e) {
-            throw new FOPException("Invalid font metrics file: "+metricsFile+" ("+e.getMessage()+")");
+            throw new FOPException("Invalid font metrics file: " + metricsFile 
+               + " (" + e.getMessage() + ")");
         }
     }
 
@@ -57,7 +58,8 @@ public class FontInfo {
         try {
             return URLBuilder.buildURL(Configuration.getFontBaseURL(), embedFile);
         } catch (Exception e) {
-            throw new FOPException("Invalid font file (embedFile): "+metricsFile+" ("+e.getMessage()+")");
+            throw new FOPException("Invalid font file (embedFile): " + embedFile 
+                       + " (" + e.getMessage() + ")");
         }
     }