[arquillian-issues] [JBoss JIRA] (ARQ-1741) Injector might throw unchecked TypeNotPresentException

Aslak Knutsen (JIRA) issues at jboss.org
Mon Jun 23 11:47:25 EDT 2014


    [ https://issues.jboss.org/browse/ARQ-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978665#comment-12978665 ] 

Aslak Knutsen commented on ARQ-1741:
------------------------------------

Are you trying to handle a TypeNotPresentException?

> Injector might throw unchecked TypeNotPresentException
> ------------------------------------------------------
>
>                 Key: ARQ-1741
>                 URL: https://issues.jboss.org/browse/ARQ-1741
>             Project: Arquillian
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: Base Implementation
>    Affects Versions: 1.1.4.Final
>            Reporter: Karel Piwko
>            Priority: Minor
>
> *When*:
> I call Injector.get().inject()
> *And*:
> Service to be injected is not on classpath
> *Then*:
> Arquillian throws TypeNotPresentException. This is fine, however it should be in API so when looking into code this is more obvious.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the arquillian-issues mailing list