summaryrefslogtreecommitdiff
path: root/eaaf_modules/eaaf_module_auth_sl20
diff options
context:
space:
mode:
authorThomas <>2021-03-09 18:01:22 +0100
committerThomas <>2021-03-09 18:01:22 +0100
commit74db625dddb157781963d798942ca1d87b09e300 (patch)
treeb4ce0f0f727e4c03bcb14df64a5870b07169f8a4 /eaaf_modules/eaaf_module_auth_sl20
parent2c83ec8f4200e7e1fa9a8df6d80c7097c72995c9 (diff)
downloadEAAF-Components-74db625dddb157781963d798942ca1d87b09e300.tar.gz
EAAF-Components-74db625dddb157781963d798942ca1d87b09e300.tar.bz2
EAAF-Components-74db625dddb157781963d798942ca1d87b09e300.zip
refactor SL20EidDataValidationException to optimize error handling
Diffstat (limited to 'eaaf_modules/eaaf_module_auth_sl20')
-rw-r--r--eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/exceptions/SL20EidDataValidationException.java16
1 files changed, 13 insertions, 3 deletions
diff --git a/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/exceptions/SL20EidDataValidationException.java b/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/exceptions/SL20EidDataValidationException.java
index 027501bd..f0d993ca 100644
--- a/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/exceptions/SL20EidDataValidationException.java
+++ b/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/exceptions/SL20EidDataValidationException.java
@@ -5,12 +5,22 @@ public class SL20EidDataValidationException extends SL20Exception {
private static final long serialVersionUID = -2604130523926584663L;
public SL20EidDataValidationException(final Object[] parameters) {
- super("sl20.07", parameters);
+ this("99", parameters);
}
-
+
public SL20EidDataValidationException(final Object[] parameters, final Throwable e) {
- super("sl20.07", parameters, e);
+ this("99", parameters, e);
+
+ }
+
+ public SL20EidDataValidationException(final String subErrorId, final Object[] parameters) {
+ super("sl20.07." + subErrorId, parameters);
+
+ }
+
+ public SL20EidDataValidationException(final String subErrorId, final Object[] parameters, final Throwable e) {
+ super("sl20.07." + subErrorId, parameters, e);
}