Replaced all tabs with spaces in java and pom.xml
[so.git] / cloudify-client / src / main / java / org / onap / so / cloudify / base / client / CloudifyResponseException.java
index f7c42d3..966cc8f 100644 (file)
@@ -24,38 +24,38 @@ import org.onap.so.cloudify.v3.model.CloudifyError;
 
 public class CloudifyResponseException extends CloudifyBaseException {
 
-       private static final long serialVersionUID = 7294957362769575271L;
-
-       protected String message;
-       protected int status;
-       
-       // Make the response available for exception handling (includes body)
-       protected CloudifyResponse response;
-
-       public CloudifyResponseException(String message, int status) {
-               this.message = message;
-               this.status = status;
-               this.response = null;
-       }
-
-       // Include the response message itself.  The body is a CloudifyError JSON structure.
-       public CloudifyResponseException(String message, int status, CloudifyResponse response) {
-               CloudifyError error = response.getErrorEntity(CloudifyError.class);
-               this.message = message + ": " + error.getErrorCode();
-               this.status = status;
-               this.response = response;
-       }
-
-       public String getMessage() {
-               return message;
-       }
-
-       public int getStatus() {
-               return status;
-       }
-
-       public CloudifyResponse getResponse() {
-               return response;
-       }
+    private static final long serialVersionUID = 7294957362769575271L;
+
+    protected String message;
+    protected int status;
+
+    // Make the response available for exception handling (includes body)
+    protected CloudifyResponse response;
+
+    public CloudifyResponseException(String message, int status) {
+        this.message = message;
+        this.status = status;
+        this.response = null;
+    }
+
+    // Include the response message itself. The body is a CloudifyError JSON structure.
+    public CloudifyResponseException(String message, int status, CloudifyResponse response) {
+        CloudifyError error = response.getErrorEntity(CloudifyError.class);
+        this.message = message + ": " + error.getErrorCode();
+        this.status = status;
+        this.response = response;
+    }
+
+    public String getMessage() {
+        return message;
+    }
+
+    public int getStatus() {
+        return status;
+    }
+
+    public CloudifyResponse getResponse() {
+        return response;
+    }
 
 }