From 31c7f52723d2f78a2eb55ed367e08fe706eda4f1 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Mon, 17 Sep 2018 16:35:31 +0530 Subject: 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 --- .../music/exceptions/MusicServiceException.java | 38 +++++++++++----------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'src/main/java/org') 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; + } + } -- cgit 1.2.3-korg