incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r585079 - /incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/api/SlingException.java
Date Tue, 16 Oct 2007 08:44:26 GMT
Author: fmeschbe
Date: Tue Oct 16 01:44:25 2007
New Revision: 585079

URL: http://svn.apache.org/viewvc?rev=585079&view=rev
Log:
SLING-56 Have SlingException extend ServletException

Modified:
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/api/SlingException.java

Modified: incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/api/SlingException.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/api/SlingException.java?rev=585079&r1=585078&r2=585079&view=diff
==============================================================================
--- incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/api/SlingException.java
(original)
+++ incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/api/SlingException.java
Tue Oct 16 01:44:25 2007
@@ -1,13 +1,15 @@
 package org.apache.sling.microsling.api;
 
+import javax.servlet.ServletException;
+
 /** Base class for Sling exceptions */
-public class SlingException extends Exception {
+public class SlingException extends ServletException {
     private static final long serialVersionUID = 1L;
 
     public SlingException(String reason) {
         super(reason);
     }
-    
+
     public SlingException(String reason,Throwable cause) {
         super(reason,cause);
     }



Mime
View raw message