iPOJO: Better error reporting when getPojoObject return null
------------------------------------------------------------

                 Key: FELIX-966
                 URL: https://issues.apache.org/jira/browse/FELIX-966
             Project: Felix
          Issue Type: Improvement
          Components: iPOJO
    Affects Versions: iPOJO-1.2.0
            Reporter: James Kingsbery 


When InstanceManager's getPojoObject returns null (which happens when 
createObject returns null), it is really hard to understand why this is the 
case, since the Exception/Error is hidden from the upper layers behind the null 
return. I think it would be better if it returned an unchecked exception 
containing as the cause the underlying Exception/Error - getting null back is 
not a useful value.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to