Contents | Package | Class | Tree | Index
PREV | NEXT SHOW LISTS | HIDE LISTS

Class sun.tools.javadoc.ThrowsTag

java.lang.Object
    |
    +----sun.tools.javadoc.Tag
            |
            +----sun.tools.javadoc.ThrowsTag

public class ThrowsTag
extends Tag
implements sun.tools.java.Constants
Represents a @throws or @exception documentation tag. Parses and holds the exception name and exception comment. Note: @exception is a backwards compatible synonymy for @throws.

See Also:
throwsTags

Method Summary
ClassDoc  exception()
Return the exception as a ClassDoc.
java.lang.String  exceptionComment()
Return the exception comment.
java.lang.String  exceptionName()
Return the exception name.
java.lang.String  kind()
Return the kind of this tag.
 
Methods inherited from class sun.tools.javadoc.Tag
 kind, name, text, toString
 
Methods inherited from class java.lang.Object
 clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

exceptionName

public java.lang.String exceptionName()
Return the exception name.

exceptionComment

public java.lang.String exceptionComment()
Return the exception comment.

exception

public ClassDoc exception()
Return the exception as a ClassDoc.

kind

public java.lang.String kind()
Return the kind of this tag. Always "@throws" for instances of ThrowsTag.
Overrides:
kind in class Tag

Contents | Package | Class | Tree | Index
PREV | NEXT SHOW LISTS | HIDE LISTS