|
From: <jef...@us...> - 2012-09-30 23:23:02
|
Revision: 1256
http://dbunit.svn.sourceforge.net/dbunit/?rev=1256&view=rev
Author: jeffjensen
Date: 2012-09-30 23:22:55 +0000 (Sun, 30 Sep 2012)
Log Message:
-----------
[3545861] CsvURLProducer swallows exception stack.
Modified Paths:
--------------
trunk/dbunit/src/changes/changes.xml
trunk/dbunit/src/main/java/org/dbunit/dataset/csv/CsvURLProducer.java
Modified: trunk/dbunit/src/changes/changes.xml
===================================================================
--- trunk/dbunit/src/changes/changes.xml 2012-09-30 23:20:04 UTC (rev 1255)
+++ trunk/dbunit/src/changes/changes.xml 2012-09-30 23:22:55 UTC (rev 1256)
@@ -11,6 +11,7 @@
<body>
<release version="next" date="in SCM" description="">
+ <action dev="jeffjensen" type="fix" issue="3545861" due-to="artbristol">CsvURLProducer swallows exception stack.</action>
<action dev="jeffjensen" type="fix" issue="3554287" due-to="statalex">Trim CSV file column names.</action>
</release>
<release version="2.4.9" date="Sep 30, 2012" description="Additional toString()s, schema name usage, logging, timestamp, unique ID, table name in Operation exceptions, build with JDK 6.">
Modified: trunk/dbunit/src/main/java/org/dbunit/dataset/csv/CsvURLProducer.java
===================================================================
--- trunk/dbunit/src/main/java/org/dbunit/dataset/csv/CsvURLProducer.java 2012-09-30 23:20:04 UTC (rev 1255)
+++ trunk/dbunit/src/main/java/org/dbunit/dataset/csv/CsvURLProducer.java 2012-09-30 23:22:55 UTC (rev 1256)
@@ -150,9 +150,9 @@
}
_consumer.endTable();
} catch (CsvParserException e) {
- throw new DataSetException("error parsing CSV for URL: '" + url + "'");
+ throw new DataSetException("error parsing CSV for URL: '" + url + "'", e);
} catch (IOException e) {
- throw new DataSetException("I/O error parsing CSV for URL: '" + url + "'");
+ throw new DataSetException("I/O error parsing CSV for URL: '" + url + "'", e);
}
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|