You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jo...@apache.org on 2008/10/22 03:29:03 UTC

svn commit: r706840 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java

Author: jonesde
Date: Tue Oct 21 18:29:03 2008
New Revision: 706840

URL: http://svn.apache.org/viewvc?rev=706840&view=rev
Log:
Added exception to get location when the delegator name isn't passed in

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java?rev=706840&r1=706839&r2=706840&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java Tue Oct 21 18:29:03 2008
@@ -118,7 +118,7 @@
     public static GenericDelegator getGenericDelegator(String delegatorName) {
         if (delegatorName == null) {
             delegatorName = "default";
-            Debug.logWarning("Got a getGenericDelegator call with a null delegatorName, assuming default for the name.", module);
+            Debug.logWarning(new Exception("Location where getting delegator with null name"), "Got a getGenericDelegator call with a null delegatorName, assuming default for the name.", module);
         }
         GenericDelegator delegator = delegatorCache.get(delegatorName);