Replaced all tabs with spaces in java and pom.xml
[so.git] / mso-api-handlers / mso-api-handler-common / src / main / java / org / onap / so / apihandlerinfra / exceptions / ApiException.java
index fdf6b80..c7f6459 100644 (file)
@@ -22,36 +22,34 @@ package org.onap.so.apihandlerinfra.exceptions;
 
 
 import java.util.List;
-
-
 import org.onap.so.apihandlerinfra.logging.ErrorLoggerInfo;
 
-public abstract class ApiException extends Exception{
+public abstract class ApiException extends Exception {
     /**
-        
-        */
-       private static final long serialVersionUID = 683162058616691134L;
-       private int httpResponseCode;
+    * 
+    */
+    private static final long serialVersionUID = 683162058616691134L;
+    private int httpResponseCode;
     private String messageID;
     private ErrorLoggerInfo errorLoggerInfo;
 
-    private List<String> variables;    
+    private List<String> variables;
 
-    public ApiException(Builder builder){
+    public ApiException(Builder builder) {
         super(builder.message, builder.cause);
 
         this.httpResponseCode = builder.httpResponseCode;
         this.messageID = builder.messageID;
         this.variables = builder.variables;
         this.errorLoggerInfo = builder.errorLoggerInfo;
-        this.variables = builder.variables;        
+        this.variables = builder.variables;
     }
 
     public ApiException(String message, Throwable cause) {
-        super(message, cause);
-       }
+        super(message, cause);
+    }
 
-       public String getMessageID() {
+    public String getMessageID() {
         return messageID;
     }
 
@@ -76,7 +74,7 @@ public abstract class ApiException extends Exception{
         private ErrorLoggerInfo errorLoggerInfo = null;
 
         private List<String> variables = null;
-        
+
         public Builder(String message, int httpResponseCode, String messageID) {
             this.message = message;
             this.httpResponseCode = httpResponseCode;
@@ -103,7 +101,7 @@ public abstract class ApiException extends Exception{
             return (T) this;
         }
 
-        public T errorInfo(ErrorLoggerInfo errorLoggerInfo){
+        public T errorInfo(ErrorLoggerInfo errorLoggerInfo) {
             this.errorLoggerInfo = errorLoggerInfo;
             return (T) this;
         }