diff options
author | Jim Hahn <jrh3@att.com> | 2021-06-17 13:02:08 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2021-06-17 13:32:09 -0400 |
commit | d23a8d83d67ab59dee405b29ddbc6dce6fd3c71b (patch) | |
tree | 06b350ac3004e5329e814e9f20a52e1bd088fc18 /utils/src/main/java/org/onap/policy/common/utils/properties/exception | |
parent | 435c3bd346a5f8050cc22df9df223479e5f32573 (diff) |
Use lombok in policy-common utils
Issue-ID: POLICY-3394
Change-Id: I42a18c115c3ca7110f37fc0ae8aeea3f2bbffb37
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'utils/src/main/java/org/onap/policy/common/utils/properties/exception')
-rw-r--r-- | utils/src/main/java/org/onap/policy/common/utils/properties/exception/PropertyException.java | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/utils/src/main/java/org/onap/policy/common/utils/properties/exception/PropertyException.java b/utils/src/main/java/org/onap/policy/common/utils/properties/exception/PropertyException.java index d6895847..3c03f38d 100644 --- a/utils/src/main/java/org/onap/policy/common/utils/properties/exception/PropertyException.java +++ b/utils/src/main/java/org/onap/policy/common/utils/properties/exception/PropertyException.java @@ -20,9 +20,12 @@ package org.onap.policy.common.utils.properties.exception; +import lombok.Getter; + /** * Exception associated with a Property. */ +@Getter public class PropertyException extends Exception { private static final long serialVersionUID = 1L; @@ -93,26 +96,6 @@ public class PropertyException extends Exception { } /** - * Get the property name. - * - * @return name of the property for which the exception was thrown, or {@code null} if - * no name was provided - */ - public String getPropertyName() { - return propertyName; - } - - /** - * Get the field name. - * - * @return name of the field for which the exception was thrown, or {@code null} if no - * field was provided - */ - public String getFieldName() { - return fieldName; - } - - /** * Make the message. * * @param propnm name of the property causing the exception, or {@code null} |