aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src/main/java/at/gv
diff options
context:
space:
mode:
authorAlexander Marsalek <amarsalek@iaik.tugraz.at>2021-04-16 21:31:36 +0200
committerAlexander Marsalek <amarsalek@iaik.tugraz.at>2021-04-16 21:31:36 +0200
commit649b3cd196987eac24a519d987676a0ba09e2432 (patch)
tree2b23429059a42e47ae79918f3742a94d31630f2a /pdf-as-lib/src/main/java/at/gv
parent0ee66ba66a9ea84cd6f31589ce0b0192f24a6258 (diff)
downloadpdf-as-4-649b3cd196987eac24a519d987676a0ba09e2432.tar.gz
pdf-as-4-649b3cd196987eac24a519d987676a0ba09e2432.tar.bz2
pdf-as-4-649b3cd196987eac24a519d987676a0ba09e2432.zip
added test & error message
Diffstat (limited to 'pdf-as-lib/src/main/java/at/gv')
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/PdfAsParameterImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/PdfAsParameterImpl.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/PdfAsParameterImpl.java
index 19111342..5c3e548f 100644
--- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/PdfAsParameterImpl.java
+++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/PdfAsParameterImpl.java
@@ -90,7 +90,7 @@ protected Configuration configuration;
if( CheckSignatureBlockParameters.checkSignatureBlockParameterMapIsValid(tmpMap, keyRegex, valueRegex) == true) {
this.dynamicSignatureBlockArgumentsMap = tmpMap;
}else{
- throw new PdfAsException("Invalid signature block parameters");
+ throw new PdfAsException("error.invalid.signature.parameter.01");
}
}