Update of /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/test
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv15795/src/org/tm4j/topicmap/test
Modified Files:
TopicMapTest.java
Log Message:
Do not obscure the original stack trace of an exception.
Index: TopicMapTest.java
===================================================================
RCS file: /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/test/TopicMapTest.java,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** TopicMapTest.java 21 Jun 2004 18:42:29 -0000 1.47
--- TopicMapTest.java 22 Jan 2008 19:45:03 -0000 1.48
***************
*** 122,126 ****
// Expected error
} catch (Exception ex) {
! ex.fillInStackTrace();
ex.printStackTrace();
fail("Caught unexpected exception: " + ex.toString());
--- 122,126 ----
// Expected error
} catch (Exception ex) {
! // ex.fillInStackTrace();
ex.printStackTrace();
fail("Caught unexpected exception: " + ex.toString());
|