FileDocCategorySizeDatePackage
ThrowsTag.javaAPI DocJava SE 5 API1665Fri Aug 26 14:54:54 BST 2005com.sun.javadoc

ThrowsTag

public interface ThrowsTag implements Tag
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.
author
Robert Field
author
Atul M Dambalkar
see
ExecutableMemberDoc#throwsTags()

Fields Summary
Constructors Summary
Methods Summary
public com.sun.javadoc.ClassDocexception()
Return a ClassDoc that represents the exception. If the type of the exception is a type variable, return the ClassDoc of its erasure.

This method cannot accommodate certain generic type constructs. The exceptionType method should be used instead.

return
ClassDoc that represents the exception.
see
#exceptionType

public java.lang.StringexceptionComment()
Return the exception comment associated with this ThrowsTag.

return
exception comment.

public java.lang.StringexceptionName()
Return the name of the exception associated with this ThrowsTag.

return
name of the exception.

public com.sun.javadoc.TypeexceptionType()
Return the type of the exception associated with this ThrowsTag. This may be a ClassDoc or a TypeVariable.

return
the type of the exception.
since
1.5