diff options
author | Thomas <> | 2023-05-15 08:36:30 +0200 |
---|---|---|
committer | Thomas <> | 2023-05-15 08:36:30 +0200 |
commit | 5865c9e49fb399c7690ed87925ba7b8ad5d98f13 (patch) | |
tree | a37acda465cab14f290f27127045cb1518e1b0ce /eaaf_modules/eaaf_module_auth_sl20 | |
parent | bfeebfeb693f1f2ef0d2f6abb34bdf0aeffa3af4 (diff) | |
download | EAAF-Components-5865c9e49fb399c7690ed87925ba7b8ad5d98f13.tar.gz EAAF-Components-5865c9e49fb399c7690ed87925ba7b8ad5d98f13.tar.bz2 EAAF-Components-5865c9e49fb399c7690ed87925ba7b8ad5d98f13.zip |
refact(core): change process-data holder-implementation to use Jackson serialization for storage
Diffstat (limited to 'eaaf_modules/eaaf_module_auth_sl20')
2 files changed, 13 insertions, 0 deletions
diff --git a/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/exceptions/SL20Exception.java b/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/exceptions/SL20Exception.java index 08373a2d..2f01a0b9 100644 --- a/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/exceptions/SL20Exception.java +++ b/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/exceptions/SL20Exception.java @@ -1,11 +1,19 @@ package at.gv.egiz.eaaf.modules.auth.sl20.exceptions; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + import at.gv.egiz.eaaf.core.exceptions.EaafAuthenticationException; public class SL20Exception extends EaafAuthenticationException { private static final long serialVersionUID = -6716465236880571576L; + @JsonCreator + public SL20Exception(@JsonProperty("errorId") final String messageId) { + super(messageId); + } + public SL20Exception(final String messageId, final Object[] parameters) { super(messageId, parameters); diff --git a/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/exceptions/SlCommandoParserException.java b/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/exceptions/SlCommandoParserException.java index 4993796a..307507cf 100644 --- a/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/exceptions/SlCommandoParserException.java +++ b/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/exceptions/SlCommandoParserException.java @@ -4,6 +4,11 @@ public class SlCommandoParserException extends SL20Exception { private static final long serialVersionUID = 1L; + public SlCommandoParserException() { + super("sl20.02", null); + + } + public SlCommandoParserException(final String msg) { super("sl20.02", new Object[] { msg }); |