Bug 86531 - Javadoc: class AST has several parameterless methods claiming to throw IllegalArgumentException
Summary: Javadoc: class AST has several parameterless methods claiming to throw Illega...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 trivial (vote)
Target Milestone: 3.1 M6   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-24 14:24 EST by Markus Keller CLA
Modified: 2005-03-31 17:33 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2005-02-24 14:24:13 EST
I20050222-0821

Javadoc: class AST has several parameterless methods claiming to throw an
IllegalArgumentException. I guess that's a copy-paste error and the affected
@exception tags can simply be removed:

	 * @exception IllegalArgumentException if:
	 * <ul>
	 * <li>the node belongs to a different AST</li>
	 * <li>the node already has a parent</li>
	 * </ul>

newWildcardType()
newPackageDeclaration()
newImportDeclaration()
Comment 1 Olivier Thomann CLA 2005-02-24 14:42:10 EST
Fixed and released in HEAD.
Jim, please review the changes. I also updated some doc to say in what
conditions an IllegalArgumentException can be thrown.
Comment 2 Olivier Thomann CLA 2005-03-30 17:01:21 EST
Jim, please verify.
Comment 3 Olivier Thomann CLA 2005-03-31 17:33:29 EST
Verified in I20050330-0500.