incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r591316 - /incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/HttpStatusCodeException.java
Date Fri, 02 Nov 2007 12:43:13 GMT
Author: bdelacretaz
Date: Fri Nov  2 05:43:12 2007
New Revision: 591316

URL: http://svn.apache.org/viewvc?rev=591316&view=rev
Log:
SLING-93: HttpStatusCodeException(int statusCode, String message, Throwable cause) constructor
added

Modified:
    incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/HttpStatusCodeException.java

Modified: incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/HttpStatusCodeException.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/HttpStatusCodeException.java?rev=591316&r1=591315&r2=591316&view=diff
==============================================================================
--- incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/HttpStatusCodeException.java
(original)
+++ incubator/sling/trunk/sling-api/src/main/java/org/apache/sling/api/HttpStatusCodeException.java
Fri Nov  2 05:43:12 2007
@@ -32,6 +32,12 @@
         this.statusCode = statusCode;
     }
 
+    public HttpStatusCodeException(int statusCode, String message, Throwable cause) {
+        super(message);
+        initCause(cause);
+        this.statusCode = statusCode;
+    }
+
     public int getStatusCode() {
         return statusCode;
     }



Mime
View raw message