You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2015/12/15 14:43:09 UTC

svn commit: r1720157 - /james/jsieve/trunk/mailet/src/main/java/org/apache/jsieve/mailet/ResourceLocator.java

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