summaryrefslogtreecommitdiff
path: root/eaaf_core_api/src/main/java
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2019-06-06 13:31:52 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2019-06-06 13:31:52 +0200
commit506c35217a28958f65c427a5ca56288eca5c12a0 (patch)
tree225b1bf963b8d49d87bf2bc8c085049c065a669d /eaaf_core_api/src/main/java
parent823d4ce2504444caac110d3506f82b4dfce4e05b (diff)
downloadEAAF-Components-506c35217a28958f65c427a5ca56288eca5c12a0.tar.gz
EAAF-Components-506c35217a28958f65c427a5ca56288eca5c12a0.tar.bz2
EAAF-Components-506c35217a28958f65c427a5ca56288eca5c12a0.zip
update UnavailableAttributeException
Diffstat (limited to 'eaaf_core_api/src/main/java')
-rw-r--r--eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/AttributeBuilderException.java4
-rw-r--r--eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFIDPException.java5
-rw-r--r--eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/UnavailableAttributeException.java4
3 files changed, 9 insertions, 4 deletions
diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/AttributeBuilderException.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/AttributeBuilderException.java
index efeecbe5..f02b3bf6 100644
--- a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/AttributeBuilderException.java
+++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/AttributeBuilderException.java
@@ -30,8 +30,8 @@ public class AttributeBuilderException extends EAAFIDPException {
private static final long serialVersionUID = 1L;
- public AttributeBuilderException(String msg) {
- super(msg);
+ public AttributeBuilderException(String attrName) {
+ super("builder.12", new Object[] {attrName});
}
}
diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFIDPException.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFIDPException.java
index 8af806d0..7f504a5a 100644
--- a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFIDPException.java
+++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFIDPException.java
@@ -38,4 +38,9 @@ public class EAAFIDPException extends EAAFException {
}
+ public EAAFIDPException(String msg, Object[] params) {
+ super(msg, params);
+
+ }
+
}
diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/UnavailableAttributeException.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/UnavailableAttributeException.java
index d87af4d1..626cbea7 100644
--- a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/UnavailableAttributeException.java
+++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/UnavailableAttributeException.java
@@ -33,10 +33,10 @@ public class UnavailableAttributeException extends AttributeBuilderException {
*/
private static final long serialVersionUID = -1114323185905118432L;
- private String attributeName;
+ private final String attributeName;
public UnavailableAttributeException(String attributeName) {
- super("Attribute " + attributeName + " is not available.");
+ super(attributeName);
this.attributeName = attributeName;
}