svn commit: r1090909 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1090909 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java

hansbak-2
Author: hansbak
Date: Sun Apr 10 23:24:12 2011
New Revision: 1090909

URL: http://svn.apache.org/viewvc?rev=1090909&view=rev
Log:
Extended error message

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java?rev=1090909&r1=1090908&r2=1090909&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java Sun Apr 10 23:24:12 2011
@@ -286,7 +286,7 @@ public class GenericDAO {
         }
 
         if (retVal == 0) {
-            throw new GenericEntityNotFoundException("Tried to update an entity that does not exist.");
+            throw new GenericEntityNotFoundException("Tried to update an entity that does not exist, entity: " + entity.toString());
         }
         return retVal;
     }