From cbfadcc7681c9f362c1e7e2c3eab43980c1236ef Mon Sep 17 00:00:00 2001
From: Thomas Lenz <thomas.lenz@egiz.gv.at>
Date: Wed, 12 Feb 2020 19:01:59 +0100
Subject: add first untested version of EaafKeyStoreFactory that supports
 Software-Keystore and HSM-Facade

---
 .../eaaf/core/exceptions/EaafFactoryException.java     | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/EaafFactoryException.java

(limited to 'eaaf_core_api')

diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/EaafFactoryException.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/EaafFactoryException.java
new file mode 100644
index 00000000..f556a781
--- /dev/null
+++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/EaafFactoryException.java
@@ -0,0 +1,18 @@
+package at.gv.egiz.eaaf.core.exceptions;
+
+public class EaafFactoryException extends EaafException {
+
+  private static final long serialVersionUID = 4710605711787308220L;
+
+  /**
+   * In case that a factory can not build an object.
+   *
+   * @param errorId ErrorCode
+   * @param params Message parameters
+   * @param e Exception
+   */
+  public EaafFactoryException(String errorId, Object[] params, Throwable e) {
+    super(errorId, params, e);
+  }
+
+}
-- 
cgit v1.2.3


From e23226c47807be597bbbae3891dbb94069d56836 Mon Sep 17 00:00:00 2001
From: Thomas Lenz <thomas.lenz@egiz.gv.at>
Date: Fri, 14 Feb 2020 08:46:52 +0100
Subject: Integrate HSM Facade from A-SIT+ The EaafKeyStoreFactory can be used
 to build KeyStores from differend providers and types

---
 .../at/gv/egiz/eaaf/core/exceptions/EaafFactoryException.java  | 10 ++++++++++
 1 file changed, 10 insertions(+)

(limited to 'eaaf_core_api')

diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/EaafFactoryException.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/EaafFactoryException.java
index f556a781..4e2a0242 100644
--- a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/EaafFactoryException.java
+++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/EaafFactoryException.java
@@ -15,4 +15,14 @@ public class EaafFactoryException extends EaafException {
     super(errorId, params, e);
   }
 
+  /**
+   * In case that a factory can not build an object.
+   *
+   * @param errorId ErrorCode
+   * @param params Message parameters
+   */
+  public EaafFactoryException(String errorId, Object[] params) {
+    super(errorId, params);
+  }
+
 }
-- 
cgit v1.2.3