Bug 15050

Summary: Cleanup Javadoc @exception tags in DOM/AST
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M6   
Hardware: Other   
OS: other   
Whiteboard:

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.