From b126cbbe6df9b5e63b80e7bed4c40f786596d5f7 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Tue, 21 Mar 2006 13:28:13 +0000 Subject: Removing unreachable catch block. 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 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/java/org/apache/fop/apps/FopFactory.java b/src/java/org/apache/fop/apps/FopFactory.java index e7849a85b..2b4d986bc 100644 --- a/src/java/org/apache/fop/apps/FopFactory.java +++ b/src/java/org/apache/fop/apps/FopFactory.java @@ -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; -- cgit v1.2.3