From 649b3cd196987eac24a519d987676a0ba09e2432 Mon Sep 17 00:00:00 2001 From: Alexander Marsalek Date: Fri, 16 Apr 2021 21:31:36 +0200 Subject: added test & error message --- .../src/main/java/at/gv/egiz/pdfas/lib/impl/PdfAsParameterImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdf-as-lib/src/main/java/at') 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"); } } -- cgit v1.2.3