Bug 15050 - Cleanup Javadoc @exception tags in DOM/AST
Summary: Cleanup Javadoc @exception tags in DOM/AST
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: Other other
: P3 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-01 17:40 EDT by Olivier Thomann CLA
Modified: 2002-05-02 11:55 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2002-05-01 17:40:27 EDT
We need to clean up the @exception tags in the javadocs of DOM/AST APIs.
Here are the 
replacements.

$precondition-violation:null-child$ IllegalArgumentException if the 
child is null
$precondition-violation:different-ast$  IllegalArgumentException if the node 
belongs to a different AST
$precondition-violation:incorrect-child-type$  
IllegalArgumentException if the child has the incorrect node type
$precondition-
violation:not-unparented$  IllegalArgumentException if the node already has a 
parent
$postcondition-violation:ast-cycle$  IllegalArgumentException if a cycle in would be 
created

$precondition-violation:empty-identifier-list$  IllegalArgumentException if 
the list of identifiers is empty
$precondition-violation:duplicate-element$  
IllegalArgumentException if the list of contains duplicate elements
$precondition-
violation:null-element$  IllegalArgumentException if the list of contains a null 
element

$precondition-violation:invalid-java-identifier$  IllegalArgumentException if 
the identifier is invalid
$precondition-violation:invalid-comment$  
IllegalArgumentException if the comment string is invalid
$precondition-
violation:invalid-javadoc-comment$  IllegalArgumentException if the Java comment string is 
invalid
$precondition-violation:invalid-primitive-type-code$  IllegalArgumentException 
if the primitive type code is invalid
$precondition-violation:invalid-literal$  
IllegalArgumentException if the literal is invalid
$postcondition-violation:invalid-
literal$ IllegalArgumentException if the literal value cannot be converted
$precondition-
violation:illegal-argument$ IllegalArgumentException if the argument is 
incorrect
$precondition-violation:illegal-modifiers$ IllegalArgumentException if the 
modifiers are illegal
$precondition-violation:negaitve-dimensions$ 
IllegalArgumentException if the number of dimensions is negative
Comment 1 Olivier Thomann CLA 2002-05-01 17:40:43 EDT
Fixed and released in HEAD.