]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Removing unreachable catch block. Temp_API_Finalization Temp_API_Finalization
authorJeremias Maerki <jeremias@apache.org>
Tue, 21 Mar 2006 13:28:13 +0000 (13:28 +0000)
committerJeremias Maerki <jeremias@apache.org>
Tue, 21 Mar 2006 13:28:13 +0000 (13:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@387524 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/apps/FopFactory.java

index e7849a85b91db82bef16f59a8b4bf07e99c91ed8..2b4d986bc32caad8ef77fdb2f120c4941d554284 100644 (file)
@@ -189,7 +189,8 @@ public class FopFactory {
      * @return the new Fop instance
      * @throws FOPException when the constructor fails
      */
-    public Fop newFop(String outputFormat, FOUserAgent userAgent, OutputStream stream) throws FOPException {
+    public Fop newFop(String outputFormat, FOUserAgent userAgent, OutputStream stream) 
+                throws FOPException {
         if (userAgent == null) {
             throw new NullPointerException("The userAgent parameter must not be null!");
         }
@@ -510,8 +511,6 @@ public class FopFactory {
                 return cfgBaseDir;
             } catch (MalformedURLException mue) {
                 log.error("Base URL in user config is malformed!");
-            } catch (IOException ioe) {
-                log.error("Error converting relative base directory to absolute URL.");
             }
         }
         return null;