james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject svn commit: r1720157 - /james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/ResourceLocator.java
Date Tue, 15 Dec 2015 13:43:09 GMT
Author: btellier
Date: Tue Dec 15 13:43:08 2015
New Revision: 1720157

URL: http://svn.apache.org/viewvc?rev=1720157&view=rev
Log:
JAMES-1615 Allow ResourceLocator to throw Exception - contibuted by Erwan Guyomarc'h

Modified:
    james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/ResourceLocator.java

Modified: james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/ResourceLocator.java
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/ResourceLocator.java?rev=1720157&r1=1720156&r2=1720157&view=diff
==============================================================================
--- james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/ResourceLocator.java
(original)
+++ james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/ResourceLocator.java
Tue Dec 15 13:43:08 2015
@@ -18,7 +18,6 @@
  ****************************************************************/
 package org.apache.jsieve.mailet;
 
-import java.io.IOException;
 import java.io.InputStream;
 
 /**
@@ -60,7 +59,7 @@ public interface ResourceLocator {
      * GET verb locates and loads a resource. 
      * @param uri identifies the Sieve script 
      * @return not null
-     * @throws IOException when the resource cannot be located
+     * @throws Exception when the resource cannot be located
      */
-    public InputStream get(String uri) throws IOException;
+    InputStream get(String uri) throws Exception;
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message