diff options
author | Joerg Pietschmann <pietsch@apache.org> | 2003-09-27 20:57:48 +0000 |
---|---|---|
committer | Joerg Pietschmann <pietsch@apache.org> | 2003-09-27 20:57:48 +0000 |
commit | 164d432566fe2a821959c078c8230f9834e16c09 (patch) | |
tree | ac26ca460f571d28830da21cc6b6cafe8d779213 /src/java/org/apache/fop/rtf/renderer/RTFHandler.java | |
parent | 8e8d10f646d35eb0f2cbef4960990e1a33996321 (diff) | |
download | xmlgraphics-fop-164d432566fe2a821959c078c8230f9834e16c09.tar.gz xmlgraphics-fop-164d432566fe2a821959c078c8230f9834e16c09.zip |
Fixed Testcase.
Some style changes.
Replace FIXME with TODO
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196939 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/rtf/renderer/RTFHandler.java')
-rw-r--r-- | src/java/org/apache/fop/rtf/renderer/RTFHandler.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/java/org/apache/fop/rtf/renderer/RTFHandler.java b/src/java/org/apache/fop/rtf/renderer/RTFHandler.java index 67435d4f1..6319390b2 100644 --- a/src/java/org/apache/fop/rtf/renderer/RTFHandler.java +++ b/src/java/org/apache/fop/rtf/renderer/RTFHandler.java @@ -151,13 +151,13 @@ public class RTFHandler extends FOInputHandler { * @see org.apache.fop.fo.FOInputHandler#startDocument() */ public void startDocument() throws SAXException { - // FIXME sections should be created + // TODO sections should be created try { rtfFile = new RtfFile(new OutputStreamWriter(os)); docArea = rtfFile.startDocumentArea(); } catch (IOException ioe) { - // FIXME could we throw Exception in all FOInputHandler events? - throw new SAXException("IOException: " + ioe); + // TODO could we throw Exception in all FOInputHandler events? + throw new SAXException(ioe); } } @@ -168,8 +168,8 @@ public class RTFHandler extends FOInputHandler { try { rtfFile.flush(); } catch (IOException ioe) { - // FIXME could we throw Exception in all FOInputHandler events? - throw new SAXException("IOException: " + ioe); + // TODO could we throw Exception in all FOInputHandler events? + throw new SAXException(ioe); } } @@ -184,9 +184,9 @@ public class RTFHandler extends FOInputHandler { bHeaderSpecified = false; bFooterSpecified = false; } catch (IOException ioe) { - // FIXME could we throw Exception in all FOInputHandler events? + // TODO could we throw Exception in all FOInputHandler events? log.error("startPageSequence: " + ioe.getMessage()); - throw new Error("IOException: " + ioe); + //TODO throw new FOPException(ioe); } } @@ -311,7 +311,7 @@ public class RTFHandler extends FOInputHandler { builderContext.pushContainer(para); } catch (IOException ioe) { - // FIXME could we throw Exception in all FOInputHandler events? + // TODO could we throw Exception in all FOInputHandler events? log.error("startBlock: " + ioe.getMessage()); throw new Error("IOException: " + ioe); } catch (Exception e) { |