felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r1702205 - /felix/trunk/framework/src/main/java/org/apache/felix/framework/ServiceRegistrationImpl.java
Date Thu, 10 Sep 2015 10:04:39 GMT
Author: davidb
Date: Thu Sep 10 10:04:39 2015
New Revision: 1702205

URL: http://svn.apache.org/r1702205
Log:
Add some extra diagnostic information to log message for ServiceException when factory returns
null.

Modified:
    felix/trunk/framework/src/main/java/org/apache/felix/framework/ServiceRegistrationImpl.java

Modified: felix/trunk/framework/src/main/java/org/apache/felix/framework/ServiceRegistrationImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/framework/src/main/java/org/apache/felix/framework/ServiceRegistrationImpl.java?rev=1702205&r1=1702204&r2=1702205&view=diff
==============================================================================
--- felix/trunk/framework/src/main/java/org/apache/felix/framework/ServiceRegistrationImpl.java
(original)
+++ felix/trunk/framework/src/main/java/org/apache/felix/framework/ServiceRegistrationImpl.java
Thu Sep 10 10:04:39 2015
@@ -378,7 +378,7 @@ class ServiceRegistrationImpl implements
         else
         {
             throw new ServiceException(
-                "Service factory returned null.", ServiceException.FACTORY_ERROR);
+                "Service factory returned null. (" + m_factory + ")", ServiceException.FACTORY_ERROR);
         }
         return svcObj;
     }



Mime
View raw message