jeremias    2003/02/11 01:26:23

  Modified:    src/org/apache/fop/configuration Tag: fop-0_20_2-maintain
                        FontInfo.java
  Log:
  Fixed copy/paste error. A confusing error message was constructed when the embedFile 
attribute was bad.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.5   +5 -3      xml-fop/src/org/apache/fop/configuration/Attic/FontInfo.java
  
  Index: FontInfo.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/configuration/Attic/FontInfo.java,v
  retrieving revision 1.2.2.4
  retrieving revision 1.2.2.5
  diff -u -r1.2.2.4 -r1.2.2.5
  --- FontInfo.java     8 Nov 2002 10:25:26 -0000       1.2.2.4
  +++ FontInfo.java     11 Feb 2003 09:26:23 -0000      1.2.2.5
  @@ -44,7 +44,8 @@
           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 @@
           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() + ")");
           }
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to