summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2018-09-17 16:35:31 +0530
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>2018-09-17 16:35:56 +0530
commit31c7f52723d2f78a2eb55ed367e08fe706eda4f1 (patch)
treec47571a1ff0933852a18377164376cc608bfb5f2
parent393b00e29666cea35849ada88cdc6983b792120a (diff)
MusicServiceException.java: Fixed sonar issues
Sonar Link: https://sonar.onap.org/code?id=org.onap.music%3AMUSIC&selected=org.onap.music%3AMUSIC%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fmusic%2Fexceptions%2FMusicServiceException.java Issue-ID: MUSIC-137 Change-Id: Ibb96c29aa17d7f8f42d1ceb5aa9581b2b250e2dc Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
-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;
+ }
+
}