diff options
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); } } |