From 84a86ceddf89f4a1a04396a37742a892f09ffafb Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Fri, 20 Jul 2018 10:57:08 +0200 Subject: some small modifications in attribute builder update internal messages-codes --- .../egiz/eaaf/core/exceptions/AuthnRequestValidatorException.java | 4 ++-- .../gv/egiz/eaaf/core/exceptions/EAAFConfigurationException.java | 8 ++++---- .../at/gv/egiz/eaaf/core/exceptions/EAAFStorageException.java | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions') diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/AuthnRequestValidatorException.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/AuthnRequestValidatorException.java index 946fe571..1c8b4d98 100644 --- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/AuthnRequestValidatorException.java +++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/AuthnRequestValidatorException.java @@ -56,13 +56,13 @@ public class AuthnRequestValidatorException extends EAAFProtocolException { } - public AuthnRequestValidatorException(String internalMsgId, Object[] params, String msg, IRequest errorRequest) { + public AuthnRequestValidatorException(String internalMsgId, Object[] params, IRequest errorRequest) { super(internalMsgId, params); this.errorRequest = errorRequest; } - public AuthnRequestValidatorException(String internalMsgId, Object[] params, String msg, IRequest errorRequest, Throwable e) { + public AuthnRequestValidatorException(String internalMsgId, Object[] params, IRequest errorRequest, Throwable e) { super(internalMsgId, params, e); this.errorRequest = errorRequest; diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFConfigurationException.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFConfigurationException.java index 16b9057a..cf7ae6a9 100644 --- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFConfigurationException.java +++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFConfigurationException.java @@ -33,12 +33,12 @@ public class EAAFConfigurationException extends EAAFException { */ private static final long serialVersionUID = 1L; - public EAAFConfigurationException(String msg) { - super(msg, null); + public EAAFConfigurationException(String msg, Object[] params) { + super(msg, params); } - public EAAFConfigurationException(String msg, Throwable e) { - super(msg, null, e); + public EAAFConfigurationException(String msg, Object[] params, Throwable e) { + super(msg, params, e); } } diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFStorageException.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFStorageException.java index 83623e8f..34057410 100644 --- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFStorageException.java +++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFStorageException.java @@ -31,11 +31,11 @@ public class EAAFStorageException extends EAAFException { private static final long serialVersionUID = 1L; public EAAFStorageException(String msg) { - super(msg, null); + super("internal.02", new Object[] {msg}); } public EAAFStorageException(String msg, Throwable e) { - super(msg, null, e); + super("internal.02", new Object[] {msg}, e); } -- cgit v1.2.3