Why IllegalArgumentException not linked to java.sun.com?

I am using Eclipse 3.2.1 and Java 1.5. All of my links to core API seem to work except those to IllegalArgumentException.

The Ant script that Eclipse builds contains:<link href="http://java.sun.com/j2se/1.5.0/docs/api/"/>

The source code doc comment line:* @throws{@link IllegalArgumentException} ...

The resulting doc page contains:Throws:

{@link - IllegalArgumentException} ...

The same source code doc comment contains:* @param rs a{@link String} of length 2 ...

which works as hoped: String appears as a link to java.sun.com. Likewise with many other links to core API classes, interfaces, etc.

[864 byte] By [com.stevebrechera] at [2007-10-3 11:41:44]
# 1

On a hunch I changed the doc comment line to:* @throws an {@link IllegalArgumentException} ...

and now the output is:Throws:

an - IllegalArgumentException ...

where IllegalArgumentException is now indeed a link. Better, but still needs improvement.

Oh, wait --

@throws IllegalArgumentException

works fine.

Thanks for listening :)

com.stevebrechera at 2007-7-15 14:11:14 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...