You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Gurkan Erdogdu (JIRA)" <ji...@apache.org> on 2010/03/28 21:18:28 UTC

[jira] Commented: (OWB-340) BeanManagerImpl.createInjectionTarget() Throws Exception When No Constructor Found

    [ https://issues.apache.org/jira/browse/OWB-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850721#action_12850721 ] 

Gurkan Erdogdu commented on OWB-340:
------------------------------------

I think this is not necessary to patch. Exceptions reflects what is the core problem, for example Having two constructors or no constructor.

> BeanManagerImpl.createInjectionTarget() Throws Exception When No Constructor Found
> ----------------------------------------------------------------------------------
>
>                 Key: OWB-340
>                 URL: https://issues.apache.org/jira/browse/OWB-340
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.0
>            Reporter: James Carman
>            Assignee: Gurkan Erdogdu
>         Attachments: OWB-340.patch
>
>
> Instead of throwing an exception, we should just return an InjectionTarget object that returns an empty set of AnnotatedConstructors from getConstructors().

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