You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2011/04/11 01:24:12 UTC
svn commit: r1090909 -
/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java
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;
}