]> source.dussan.org Git - xmlgraphics-fop.git/commit
Log RuntimeExceptions during rendering so that they are at least visible somewhere...
authorJeremias Maerki <jeremias@apache.org>
Mon, 3 Dec 2007 10:16:27 +0000 (10:16 +0000)
committerJeremias Maerki <jeremias@apache.org>
Mon, 3 Dec 2007 10:16:27 +0000 (10:16 +0000)
commitded24c942b053a82b60d462028449da1fc316b6e
treec569110b88d2dbd1245bce05140445864b2fa8a2
parent41e84a208e0d644e6fbad30ecec021cd7e89f897
Log RuntimeExceptions during rendering so that they are at least visible somewhere if someone doesn't set an ErrorListener on the XSLT processor (this could lead to exceptions being swallowed). This is a temporary measure until we have time to improve the exception handling in FOP.
The original problem that led to this change was: "The number of this PDFNumber must not be empty" while producing a PDF/A with customized filter entries in the PDF configuration. The exception was a follow-up exception after a PDFConformanceException that was swallowed by a default ErrorListener.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@600467 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/fop/area/RenderPagesModel.java
src/java/org/apache/fop/pdf/PDFObject.java