diff options
author | Jeremias Maerki <jeremias@apache.org> | 2008-04-18 07:44:32 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2008-04-18 07:44:32 +0000 |
commit | 88e5a6ee83a4d3a88617b872992adc082856c8ee (patch) | |
tree | 53adb8a6adc00140a268acb2feeba43fa94da2af /src/java/org/apache/fop/fo/pagination/PageSequenceMaster.java | |
parent | f30530f322ad52e899ad022d887122906acc881a (diff) | |
download | xmlgraphics-fop-88e5a6ee83a4d3a88617b872992adc082856c8ee.tar.gz xmlgraphics-fop-88e5a6ee83a4d3a88617b872992adc082856c8ee.zip |
Introduced PageProductionException and fixed exception throwing for the event related to this exception. It's a RuntimeException descendant as making it a checked exception would have made changes necessary to at least a dozen more classes. Our overall exception style is still not so good.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@649396 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination/PageSequenceMaster.java')
-rw-r--r-- | src/java/org/apache/fop/fo/pagination/PageSequenceMaster.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/PageSequenceMaster.java b/src/java/org/apache/fop/fo/pagination/PageSequenceMaster.java index 4258a1139..b6c8c0f6b 100644 --- a/src/java/org/apache/fop/fo/pagination/PageSequenceMaster.java +++ b/src/java/org/apache/fop/fo/pagination/PageSequenceMaster.java @@ -189,14 +189,14 @@ public class PageSequenceMaster extends FObj { * @param isOnlyPage True if the next page is the only page * @param isBlankPage True if the next page is blank * @return the requested page master - * @throws FOPException if there's a problem determining the next page master + * @throws PageProductionException if there's a problem determining the next page master */ public SimplePageMaster getNextSimplePageMaster(boolean isOddPage, boolean isFirstPage, boolean isLastPage, boolean isOnlyPage, boolean isBlankPage) - throws FOPException { + throws PageProductionException { if (currentSubSequence == null) { currentSubSequence = getNextSubSequence(); if (currentSubSequence == null) { |