The parent folder name is never send encoded.
[pithos] / src / gr / ebs / gss / client / rest / RestException.java
index cfbbe57..f9cd283 100644 (file)
@@ -23,12 +23,12 @@ package gr.ebs.gss.client.rest;
  * @author kman
  *
  */
-public class RestException extends Throwable{
+public class RestException extends Throwable {
 
        private int httpStatusCode;
     private String httpStatusText;
     private String text;
-    private String path;
+
     public RestException() {
     }
 
@@ -44,12 +44,11 @@ public class RestException extends Throwable{
             super(message, innerException);
     }
 
-    public RestException(String path, int httpStatusCode, String httpStatusText, String text) {
-            super("HTTP error: " + httpStatusCode+"\nPapth:"+path + "\nStatus text:" + httpStatusText + "\nText:" + text);
-            this.httpStatusCode = httpStatusCode;
-            this.httpStatusText = httpStatusText;
-            this.path = path;
-            this.text = text;
+    public RestException(String aPath, int aStatusCode, String aStatusText, String aText) {
+            super("HTTP error: " + aStatusCode+"\nPapth:"+aPath + "\nStatus text:" + aStatusText + "\nText:" + aText);
+            httpStatusCode = aStatusCode;
+            httpStatusText = aStatusText;
+            text = aText;
     }
 
     public int getHttpStatusCode() {