You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by mo...@apache.org on 2003/01/24 03:03:41 UTC
cvs commit: jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly Jelly.java
morgand 2003/01/23 18:03:41
Modified: jelly/src/java/org/apache/commons/jelly Jelly.java
Log:
changed Exception to IOException
Revision Changes Path
1.25 +7 -6 jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/Jelly.java
Index: Jelly.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/jelly/src/java/org/apache/commons/jelly/Jelly.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- Jelly.java 30 Oct 2002 19:16:26 -0000 1.24
+++ Jelly.java 24 Jan 2003 02:03:40 -0000 1.25
@@ -65,6 +65,7 @@
import java.io.File;
import java.io.InputStream;
import java.io.FileInputStream;
+import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Enumeration;
@@ -299,7 +300,7 @@
/**
* Loads the properties from the given input stream
*/
- protected void loadProperties(InputStream is) throws Exception {
+ protected void loadProperties(InputStream is) throws IOException {
JellyContext context = getJellyContext();
Properties props = new Properties();
props.load(is);
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>