summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorThomas Nelson <tn1381@att.com>2018-09-18 01:49:55 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-18 01:49:55 +0000
commitbdeb60322c8a4477f19c616f5f1a6a1058c72204 (patch)
tree0063f2ff9498d7ad1528b9c2465a5c174df1f9ec /src/main/java
parent63b03eaaf973262e5a07c85a2274d179de86b45e (diff)
parent31c7f52723d2f78a2eb55ed367e08fe706eda4f1 (diff)
Merge "MusicServiceException.java: Fixed sonar issues"
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/onap/music/exceptions/MusicServiceException.java38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/main/java/org/onap/music/exceptions/MusicServiceException.java b/src/main/java/org/onap/music/exceptions/MusicServiceException.java
index a3b1fc56..35ce5c8c 100644
--- a/src/main/java/org/onap/music/exceptions/MusicServiceException.java
+++ b/src/main/java/org/onap/music/exceptions/MusicServiceException.java
@@ -32,25 +32,6 @@ public class MusicServiceException extends Exception {
private int errorCode;
private String errorMessage;
- public int getErrorCode() {
- return errorCode;
- }
-
-
- public void setErrorCode(int errorCode) {
- this.errorCode = errorCode;
- }
-
-
- public String getErrorMessage() {
- return errorMessage;
- }
-
-
- public void setErrorMessage(String errorMessage) {
- this.errorMessage = errorMessage;
- }
-
public MusicServiceException() {
super();
@@ -81,4 +62,23 @@ public class MusicServiceException extends Exception {
}
+ public int getErrorCode() {
+ return errorCode;
+ }
+
+
+ public void setErrorCode(int errorCode) {
+ this.errorCode = errorCode;
+ }
+
+
+ public String getErrorMessage() {
+ return errorMessage;
+ }
+
+
+ public void setErrorMessage(String errorMessage) {
+ this.errorMessage = errorMessage;
+ }
+
}