sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r599411 - /incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/URLProvider.java
Date Thu, 29 Nov 2007 12:28:52 GMT
Author: fmeschbe
Date: Thu Nov 29 04:28:50 2007
New Revision: 599411

URL: http://svn.apache.org/viewvc?rev=599411&view=rev
Log:
SLING-109 Needs a MalformedURLException declaration and add JavaDoc

Modified:
    incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/URLProvider.java

Modified: incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/URLProvider.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/URLProvider.java?rev=599411&r1=599410&r2=599411&view=diff
==============================================================================
--- incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/URLProvider.java
(original)
+++ incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/URLProvider.java
Thu Nov 29 04:28:50 2007
@@ -18,6 +18,7 @@
  */
 package org.apache.sling.api.resource;
 
+import java.net.MalformedURLException;
 import java.net.URL;
 
 /**
@@ -29,6 +30,11 @@
  */
 public interface URLProvider {
 
-    URL getURL();
+    /**
+     * Returns the URL to internal data.
+     *
+     * @throws MalformedURLException If an error occurrs building the URL.
+     */
+    URL getURL() throws MalformedURLException;
 
 }



Mime
View raw message