[jboss-jira] [JBoss JIRA] Commented: (JBEE-4) javax.ejb.EJBContext.lookup javadoc is wrong
Dimitris Andreadis (JIRA)
jira-events at lists.jboss.org
Sun Sep 14 14:15:31 EDT 2008
[ https://jira.jboss.org/jira/browse/JBEE-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12429506#action_12429506 ]
Dimitris Andreadis commented on JBEE-4:
---------------------------------------
Ok, I've fixed it to:
/**
* Lookup a resource within the component's private naming context.
*
* @param name - Name of the entry (relative to java:comp/env).
* @throws IllegalArgumentException - The Container throws the exception if
* the given name does not match an entry within the component's environment.
*/
public Object lookup(String name) throws IllegalArgumentException;
> javax.ejb.EJBContext.lookup javadoc is wrong
> --------------------------------------------
>
> Key: JBEE-4
> URL: https://jira.jboss.org/jira/browse/JBEE-4
> Project: JBoss JavaEE APIs
> Issue Type: Task
> Components: EJB API
> Reporter: Carlo de Wolf
> Assignee: Carlo de Wolf
> Fix For: 3.0.0.GA-ejb-api
>
>
> Javadoc for EJBContext.lookup is wrong.
> Method should throw IllegalArgumentException if nothing is found, not return null.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list