Author: hansbak
Date: Sun Apr 10 23:24:12 2011
New Revision: 1090909
URL:
http://svn.apache.org/viewvc?rev=1090909&view=revLog:
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;
}