aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-common/src/main
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2015-03-20 14:41:50 +0100
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2015-03-20 14:41:50 +0100
commitf179c8db3574d03bb1b6b5be1bd86c9ea04073ad (patch)
tree2e409af0e8bd762d9d38dc2d9fe7bc3402d7c343 /pdf-as-common/src/main
parent0dc3dfacb8c8f5bbe4dff667a62dcfc879e06367 (diff)
downloadpdf-as-4-f179c8db3574d03bb1b6b5be1bd86c9ea04073ad.tar.gz
pdf-as-4-f179c8db3574d03bb1b6b5be1bd86c9ea04073ad.tar.bz2
pdf-as-4-f179c8db3574d03bb1b6b5be1bd86c9ea04073ad.zip
added Placeholder ID and Mode configuration settings
Diffstat (limited to 'pdf-as-common/src/main')
-rw-r--r--pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions/ErrorConstants.java1
-rw-r--r--pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/Settings.java1
-rw-r--r--pdf-as-common/src/main/resources/resources/messages/error.properties4
3 files changed, 4 insertions, 2 deletions
diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions/ErrorConstants.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions/ErrorConstants.java
index cf57f742..7c2fb03c 100644
--- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions/ErrorConstants.java
+++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions/ErrorConstants.java
@@ -25,4 +25,5 @@ public interface ErrorConstants {
// Configuration Errors:
public static final long ERROR_SET_INVALID_SETTINGS_OBJ = 13001;
public static final long ERROR_INVALID_CERTIFICATE = 13002;
+ public static final long ERROR_INVALID_PLACEHOLDER_MODE = 13003;
}
diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/Settings.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/Settings.java
index 1cb85f7f..f37ae452 100644
--- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/Settings.java
+++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/Settings.java
@@ -28,7 +28,6 @@ import java.io.FileInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
-import java.util.Enumeration;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
diff --git a/pdf-as-common/src/main/resources/resources/messages/error.properties b/pdf-as-common/src/main/resources/resources/messages/error.properties
index 386a824a..4f67fff6 100644
--- a/pdf-as-common/src/main/resources/resources/messages/error.properties
+++ b/pdf-as-common/src/main/resources/resources/messages/error.properties
@@ -22,4 +22,6 @@
11018=Given Alias contains no private key
11019=Signature was created for wrong certificate
-13001=Invalid Configuration Objects \ No newline at end of file
+13001=Invalid Configuration Objects
+13002=Given certificate is invalid
+13003=Configured placeholder mode is invalid \ No newline at end of file