aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/apps/FOInputHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/apps/FOInputHandler.java')
-rw-r--r--src/org/apache/fop/apps/FOInputHandler.java11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/org/apache/fop/apps/FOInputHandler.java b/src/org/apache/fop/apps/FOInputHandler.java
index 9a40a6abc..6f99e223c 100644
--- a/src/org/apache/fop/apps/FOInputHandler.java
+++ b/src/org/apache/fop/apps/FOInputHandler.java
@@ -32,13 +32,10 @@ public class FOInputHandler extends InputHandler {
return super.fileInputSource(fofile);
}
- public XMLReader getParser() {
- XMLReader parser = super.createParser();
- if (parser == null) {
- MessageHandler.errorln("ERROR: Unable to create SAX parser");
- System.exit(1);
- }
- return parser;
+ public XMLReader getParser()
+ throws FOPException
+ {
+ return super.createParser();
}
}