diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2014-04-04 15:52:30 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2014-04-04 15:52:30 +0000 |
commit | 5cae15e0accf7bb753111394ba9870f5b815ab29 (patch) | |
tree | 88932201329ff59d7f7be340b54e2a5d6704dc8f /src/java/org/apache/fop/pdf/PDFProfile.java | |
parent | f8dd89a164228d28afd6080fb37e1f94b3e30a09 (diff) | |
download | xmlgraphics-fop-5cae15e0accf7bb753111394ba9870f5b815ab29.tar.gz xmlgraphics-fop-5cae15e0accf7bb753111394ba9870f5b815ab29.zip |
FOP-2363: Better error message when PDF/A enabled and SVG contains bitmap with transparency
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1584765 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/pdf/PDFProfile.java')
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFProfile.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/pdf/PDFProfile.java b/src/java/org/apache/fop/pdf/PDFProfile.java index 4ae5ba8df..4289d0ee8 100644 --- a/src/java/org/apache/fop/pdf/PDFProfile.java +++ b/src/java/org/apache/fop/pdf/PDFProfile.java @@ -171,8 +171,7 @@ public class PDFProfile { public void verifyTransparencyAllowed(String context) { Object profile = isTransparencyAllowed(); if (profile != null) { - throw new PDFConformanceException(profile + " does not allow the use of transparency. (" - + profile + ")"); + throw new TransparencyDisallowedException(profile, context); } } |