db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r724546 - /db/jdo/trunk/api2/test/java/javax/jdo/identity/ObjectIdentityTest.java
Date Mon, 08 Dec 2008 23:10:40 GMT
Author: clr
Date: Mon Dec  8 15:10:40 2008
New Revision: 724546

URL: http://svn.apache.org/viewvc?rev=724546&view=rev
Log:
Fix wrong error message

Modified:
    db/jdo/trunk/api2/test/java/javax/jdo/identity/ObjectIdentityTest.java

Modified: db/jdo/trunk/api2/test/java/javax/jdo/identity/ObjectIdentityTest.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/test/java/javax/jdo/identity/ObjectIdentityTest.java?rev=724546&r1=724545&r2=724546&view=diff
==============================================================================
--- db/jdo/trunk/api2/test/java/javax/jdo/identity/ObjectIdentityTest.java (original)
+++ db/jdo/trunk/api2/test/java/javax/jdo/identity/ObjectIdentityTest.java Mon Dec  8 15:10:40
2008
@@ -407,7 +407,8 @@
             fail ("Nested exception is not == getCause()");
         }
         if (!(expected.isAssignableFrom(nested.getClass()))) {
-            fail ("Wrong nested exception. Expected ClassNotFoundException, got "
+            fail ("Wrong nested exception. Expected "
+                    + expected.getName() + ", got "
                     + nested.toString());
         }
         return;



Mime
View raw message