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

James Carman commented on OWB-340:
----------------------------------

My patch does that.  However, it doesn't propagate a very helpful error 
message.  I guess, if the constructor is null, we could go back through and try 
to figure out how many suitable constructors there are in the class again and 
give them the error message then.

> 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.

Reply via email to