The following comment has been added to this issue: Author: Christopher G. Stach II Created: Fri, 25 Feb 2005 1:56 PM Body: I also have this problem with ejb.aggregate. I would like to see this entire remove block become optional, as one may use it to aggregate a parent object, and parents usually should not be removed when children are removed. --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-705?page=comments#action_16020
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-705 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-705 Summary: catch RemoteException generated in ejbRemove but never thrown Type: Bug Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: XDoclet Components: EJB Module Versions: 1.2 Assignee: xdoclet-devel (Use for new issues) Reporter: Jeroen van Bemmel Created: Tue, 11 Nov 2003 2:27 PM Updated: Fri, 25 Feb 2005 1:56 PM Environment: Any Description: In entity-body.xdt line 251-259 (1.2b3 from CVS) a try{ ... } catch block is generated around a call to remove() methods in aggregated objects. This needs to be done conditionally, i.e. remove() will only throw a RemoteException when it is actually a remote interface I am using a local interface, so the generated code will not compile because javac complains that the exception is never thrown To resolve this, there needs to be a tag that checks if the remove() method throws 'RemoteException' or not --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel