aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/pdfas/web/helper
diff options
context:
space:
mode:
authortknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2008-06-17 06:33:31 +0000
committertknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2008-06-17 06:33:31 +0000
commitc45c60eecc2f4445ae552a870aa095039644420c (patch)
treec2ea17b0d533d0376b8e209a3b239f01f0ebaaec /src/main/java/at/gv/egiz/pdfas/web/helper
parentec360bb2794115d33b6203b3171f7cca23ac544e (diff)
downloadpdf-as-3-c45c60eecc2f4445ae552a870aa095039644420c.tar.gz
pdf-as-3-c45c60eecc2f4445ae552a870aa095039644420c.tar.bz2
pdf-as-3-c45c60eecc2f4445ae552a870aa095039644420c.zip
(Default) configuration updated regarding new configuration keys.
Update concerting exclusion of minimal layout profiles for verification. APIDemo updated. Many printStackTraces replaces with logger-messages. Web-Application: New error code (251) introduced: Textual signature of files with no extractable textual content (e.g. files that solely contain images) is prevented. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@293 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/gv/egiz/pdfas/web/helper')
-rw-r--r--src/main/java/at/gv/egiz/pdfas/web/helper/SignServletHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/gv/egiz/pdfas/web/helper/SignServletHelper.java b/src/main/java/at/gv/egiz/pdfas/web/helper/SignServletHelper.java
index f9cb809..a904ad4 100644
--- a/src/main/java/at/gv/egiz/pdfas/web/helper/SignServletHelper.java
+++ b/src/main/java/at/gv/egiz/pdfas/web/helper/SignServletHelper.java
@@ -112,7 +112,7 @@ public class SignServletHelper
// check if document is empty
if (si.si.getSignatureData() == null || si.si.getSignatureData().getDataSource().getLength() == 0) {
- throw new PDFDocumentException(250, "The document is empty.");
+ throw new PDFDocumentException(251, "Unable to extract and textual content.");
}
log.debug("connector = " + si.connector); //$NON-NLS-1$