felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clement Escoffier (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (FELIX-966) iPOJO: Better error reporting when getPojoObject return null
Date Tue, 03 Mar 2009 07:30:56 GMT

     [ https://issues.apache.org/jira/browse/FELIX-966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Clement Escoffier reassigned FELIX-966:
---------------------------------------

    Assignee: Clement Escoffier

> 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 
>            Assignee: Clement Escoffier
>
> 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.


Mime
View raw message