From: John W. <joe...@us...> - 2005-01-31 00:09:21
|
Update of /cvsroot/javabdd/JavaBDD_tests/bdd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1098/bdd Modified Files: BDDTestCase.java Log Message: Better printing of exception information on BDD factory creation. Index: BDDTestCase.java =================================================================== RCS file: /cvsroot/javabdd/JavaBDD_tests/bdd/BDDTestCase.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** BDDTestCase.java 30 Jan 2005 14:43:40 -0000 1.5 --- BDDTestCase.java 31 Jan 2005 00:09:12 -0000 1.6 *************** *** 7,10 **** --- 7,11 ---- import java.util.Iterator; import java.util.LinkedList; + import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import junit.framework.TestCase; *************** *** 44,48 **** } catch (Throwable _) { ! System.out.println("Failed: "+_); } } --- 45,51 ---- } catch (Throwable _) { ! if (_ instanceof InvocationTargetException) ! _ = ((InvocationTargetException)_).getTargetException(); ! System.out.println("Failed initializing "+bddpackage+": "+_); } } |