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

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

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

jonesde
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);