forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r488457 - /forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/reader/ChainedReader.java
Date Mon, 18 Dec 2006 23:45:39 GMT
Author: rgardler
Date: Mon Dec 18 15:45:38 2006
New Revision: 488457

URL: http://svn.apache.org/viewvc?view=rev&rev=488457
Log:
Don't swallow exceptions

Modified:
    forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/reader/ChainedReader.java

Modified: forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/reader/ChainedReader.java
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/reader/ChainedReader.java?view=diff&rev=488457&r1=488456&r2=488457
==============================================================================
--- forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/reader/ChainedReader.java
(original)
+++ forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/reader/ChainedReader.java
Mon Dec 18 15:45:38 2006
@@ -71,11 +71,9 @@
 				doc.setType(getDocType());
 			}
 		} catch (final URISyntaxException e) {
-			// TODO Auto-generated catch block
-			e.printStackTrace();
+			throw new ProcessingException("Unable to processes chained reader", e);
 		} catch (MalformedURLException e) {
-			// TODO Auto-generated catch block
-			e.printStackTrace();
+			throw new ProcessingException("Unable to processes chained reader", e);
 		}
 		return doc;
 	}



Mime
View raw message