CVS: jcontainer/dna/tools/src/java/org/jcontainer/dna/tools/verifier VerifyComponentsTask.java,1.1,1.2

Peter Donald <pdonald-yCVjj/[email protected]>
Newsgroups gmane.comp.java.jcontainer.cvs
Message-ID <[email protected]>
Update of /cvsroot/jcontainer/jcontainer/dna/tools/src/java/org/jcontainer/dna/tools/verifier
In directory hogshead.codehaus.org:/tmp/cvs-serv25753

Modified Files:
	VerifyComponentsTask.java 
Log Message:
Assume IO can throw any exception

Index: VerifyComponentsTask.java
===================================================================
RCS file: /cvsroot/jcontainer/jcontainer/dna/tools/src/java/org/jcontainer/dna/tools/verifier/VerifyComponentsTask.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- VerifyComponentsTask.java	26 Oct 2003 03:22:17 -0000	1.1
+++ VerifyComponentsTask.java	1 Nov 2003 01:13:58 -0000	1.2
@@ -9,7 +9,6 @@
 
 import java.io.File;
 import java.io.FileInputStream;
-import java.io.IOException;
 import java.util.ArrayList;
 import java.util.Iterator;
 import java.util.List;
@@ -238,7 +237,7 @@
             final FileInputStream input = new FileInputStream( file );
             return IO.deserializeClass( input );
         }
-        catch( final IOException ioe )
+        catch( final Exception e )
         {
             return null;
         }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.