diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-08-26 16:21:39 +0200 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-08-26 16:21:39 +0200 |
commit | be7b4a37fb0844e9f1b9ed91742af3d204f68f22 (patch) | |
tree | 29f7db190f647ab35905784c805cfefb9c73abba /eaaf_core_utils/src/main/java/at | |
parent | 4d49513b7c28197b6c767e79e510db18ba73acb5 (diff) | |
download | EAAF-Components-be7b4a37fb0844e9f1b9ed91742af3d204f68f22.tar.gz EAAF-Components-be7b4a37fb0844e9f1b9ed91742af3d204f68f22.tar.bz2 EAAF-Components-be7b4a37fb0844e9f1b9ed91742af3d204f68f22.zip |
refactor JWS and JWE implementation in SL2.0 module to reuse JWS and JWE specific implementation in other classes
Diffstat (limited to 'eaaf_core_utils/src/main/java/at')
-rw-r--r-- | eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/exception/EaafKeyUsageException.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/exception/EaafKeyUsageException.java b/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/exception/EaafKeyUsageException.java new file mode 100644 index 00000000..8b4e68a4 --- /dev/null +++ b/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/exception/EaafKeyUsageException.java @@ -0,0 +1,21 @@ +package at.gv.egiz.eaaf.core.exception; + +import at.gv.egiz.eaaf.core.exceptions.EaafException; + +public class EaafKeyUsageException extends EaafException { + + private static final long serialVersionUID = -2641273589744430903L; + + public static final String ERROR_CODE_01 = "internal.key.01"; + + public EaafKeyUsageException(String errorCode, String... params) { + super(errorCode, new Object[] {params}); + + } + + public EaafKeyUsageException(String errorCode, Throwable e, String... params) { + super(errorCode, new Object[] {params}, e); + + } + +} |