forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From twilli...@apache.org
Subject svn commit: r357622 - /forrest/trunk/main/java/org/apache/forrest/locationmap/LocationMapModule.java
Date Mon, 19 Dec 2005 03:11:22 GMT
Author: twilliams
Date: Sun Dec 18 19:11:15 2005
New Revision: 357622

URL: http://svn.apache.org/viewcvs?rev=357622&view=rev
Log:
log null return values, but they aren't errors.  

Modified:
    forrest/trunk/main/java/org/apache/forrest/locationmap/LocationMapModule.java

Modified: forrest/trunk/main/java/org/apache/forrest/locationmap/LocationMapModule.java
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/java/org/apache/forrest/locationmap/LocationMapModule.java?rev=357622&r1=357621&r2=357622&view=diff
==============================================================================
--- forrest/trunk/main/java/org/apache/forrest/locationmap/LocationMapModule.java (original)
+++ forrest/trunk/main/java/org/apache/forrest/locationmap/LocationMapModule.java Sun Dec
18 19:11:15 2005
@@ -189,9 +189,10 @@
         	}
           
           if (result == null) {
-            String msg = "Locationmap did not return a location for hint " + name;
-            getLogger().error(msg);
-            throw new Exception(msg);
+              if (getLogger().isDebugEnabled()) {
+                String msg = "Locationmap did not return a location for hint " + name;
+                getLogger().debug(msg);
+              }
           }
           
         	return result;



Mime
View raw message