You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2003/11/18 22:28:17 UTC
cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections BulkTest.java
scolebourne 2003/11/18 13:28:17
Modified: collections/src/test/org/apache/commons/collections
BulkTest.java
Log:
Report more helpfully when errors occur
Revision Changes Path
1.7 +6 -4 jakarta-commons/collections/src/test/org/apache/commons/collections/BulkTest.java
Index: BulkTest.java
===================================================================
RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/BulkTest.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- BulkTest.java 5 Oct 2003 20:48:29 -0000 1.6
+++ BulkTest.java 18 Nov 2003 21:28:16 -0000 1.7
@@ -398,9 +398,11 @@
try {
bulk2 = (BulkTest)m.invoke(bulk, null);
if (bulk2 == null) return;
- } catch (InvocationTargetException e) {
+ } catch (InvocationTargetException ex) {
+ ex.getTargetException().printStackTrace();
throw new Error(); // FIXME;
- } catch (IllegalAccessException e) {
+ } catch (IllegalAccessException ex) {
+ ex.printStackTrace();
throw new Error(); // FIXME;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org