[XDoclet-JIRA] Assigned: (XDT-1440) local interface don't must throws java.rmi.Exception

[email protected]
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
Message:

   The following issue has been re-assigned.

   Assignee: Matthias Germann (mailto:[email protected])
---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1440

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1440
    Summary: local interface don't must throws java.rmi.Exception
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             EJB Module
   Versions:
             1.2.3

   Assignee: Matthias Germann
   Reporter: Domenico Loiacono

    Created: Tue, 21 Jun 2005 9:49 AM
    Updated: Sun, 14 Aug 2005 3:03 AM

Description:
EJB local interface methods don't must throws java.rmi.RemoteException according to EJB specs.

If you annotate your SessionBean methods with:

@ejb.interface-method view-type="both"

and your methods throws an java.rmi.RemoteException, xdoclet generate a method for your Local Interface whith this exception in throws statement.

To solve problem local.xdt template should be traform in:

-   public <XDtMethod:methodType/> <XDtMethod:methodName/>( <XDtParameter:parameterList/> ) <XDtMethod:exceptionList"/>;

+   public <XDtMethod:methodType/> <XDtMethod:methodName/>( <XDtParameter:parameterList/> ) <XDtMethod:exceptionList skip="java.rmi.RemoteException"/>;



---------------------------------------------------------------------
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.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.