The following comment has been added to this issue:

     Author: Mike Ringrose
    Created: Tue, 28 Dec 2004 9:32 AM
       Body:
The IfDoesntThrowException should also evaluate the body contents if the method 
does not throw any exceptions.
---------------------------------------------------------------------
View this comment:
  
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1216?page=comments#action_15505

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1216

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1216
    Summary: ifDoesntThrowException not working as advertised
       Type: Bug

     Status: Open
   Priority: Trivial

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             XDoclet Module
   Versions:
             1.2.2

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Mike Ringrose

    Created: Tue, 28 Dec 2004 8:53 AM
    Updated: Tue, 28 Dec 2004 9:32 AM

Description:
The comment for the ifDoesntThrowException states, "Evaluate the body block if 
current method doesn't throw the exceptions specified in the exceptions 
attribute."

However when used the body block is executed once for each exception appearing 
in the 'exceptions' attribute. Same happens with ifThrowsException. Adding a 
simple break to loop at the end of the method would remedy this issue.



---------------------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to