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

Aslak Knutsen (JIRA) issues at jboss.org
Sat Jun 21 13:11:24 EDT 2014


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

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

You mean the inject method should declare the RuntimeException 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