aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2006-03-21 13:28:13 +0000
committerJeremias Maerki <jeremias@apache.org>2006-03-21 13:28:13 +0000
commitb126cbbe6df9b5e63b80e7bed4c40f786596d5f7 (patch)
tree8c3b88bcba5902f310b7532b2fb52965214af838
parent42f0996c4a3325850fc0c7058f2867a1bece07f7 (diff)
downloadxmlgraphics-fop-b126cbbe6df9b5e63b80e7bed4c40f786596d5f7.tar.gz
xmlgraphics-fop-b126cbbe6df9b5e63b80e7bed4c40f786596d5f7.zip
Removing unreachable catch block.Temp_API_Finalization
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@387524 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/apps/FopFactory.java5
1 files 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;