Class ThrowsTagImpl
- java.lang.Object
-
- gw.gosudoc.com.sun.tools.javadoc.main.TagImpl
-
- gw.gosudoc.com.sun.tools.javadoc.main.ThrowsTagImpl
-
@Deprecated class ThrowsTagImpl extends TagImpl implements ThrowsTag
Deprecated.Represents a @throws or @exception documentation tag. Parses and holds the exception name and exception comment. The exception name my be the name of a type variable. Note: @exception is a backwards compatible synonymy for @throws.This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
- See Also:
ExecutableMemberDocImpl.throwsTags()
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringexceptionCommentDeprecated.private java.lang.StringexceptionNameDeprecated.private Tag[]inlineTagsDeprecated.Cached inline tags.
-
Constructor Summary
Constructors Constructor Description ThrowsTagImpl(DocImpl holder, java.lang.String name, java.lang.String text)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ClassDocexception()Deprecated.Return the exception as a ClassDocImpl.java.lang.StringexceptionComment()Deprecated.Return the exception comment.java.lang.StringexceptionName()Deprecated.Return the exception name.TypeexceptionType()Deprecated.Return the type that represents the exception.Tag[]inlineTags()Deprecated.For the exception comment with embedded @link tags return the array of TagImpls consisting of SeeTagImpl(s) and text containing TagImpl(s).java.lang.Stringkind()Deprecated.Return the kind of this tag.-
Methods inherited from class gw.gosudoc.com.sun.tools.javadoc.main.TagImpl
divideAtWhite, docenv, firstSentenceTags, holder, name, position, text, toString
-
-
-
-
Field Detail
-
exceptionName
private final java.lang.String exceptionName
Deprecated.
-
exceptionComment
private final java.lang.String exceptionComment
Deprecated.
-
inlineTags
private Tag[] inlineTags
Deprecated.Cached inline tags.
-
-
Constructor Detail
-
ThrowsTagImpl
ThrowsTagImpl(DocImpl holder, java.lang.String name, java.lang.String text)
Deprecated.
-
-
Method Detail
-
exceptionName
public java.lang.String exceptionName()
Deprecated.Return the exception name.- Specified by:
exceptionNamein interfaceThrowsTag- Returns:
- name of the exception.
-
exceptionComment
public java.lang.String exceptionComment()
Deprecated.Return the exception comment.- Specified by:
exceptionCommentin interfaceThrowsTag- Returns:
- exception comment.
-
exception
public ClassDoc exception()
Deprecated.Return the exception as a ClassDocImpl.- Specified by:
exceptionin interfaceThrowsTag- Returns:
ClassDocthat represents the exception.- See Also:
ThrowsTag.exceptionType()
-
exceptionType
public Type exceptionType()
Deprecated.Return the type that represents the exception. This may be aClassDocor aTypeVariable.- Specified by:
exceptionTypein interfaceThrowsTag- Returns:
- the type of the exception.
-
kind
public java.lang.String kind()
Deprecated.Return the kind of this tag. Always "@throws" for instances of ThrowsTagImpl.
-
inlineTags
public Tag[] inlineTags()
Deprecated.For the exception comment with embedded @link tags return the array of TagImpls consisting of SeeTagImpl(s) and text containing TagImpl(s).- Specified by:
inlineTagsin interfaceTag- Overrides:
inlineTagsin classTagImpl- Returns:
- TagImpl[] Array of tags with inline SeeTagImpls.
- See Also:
TagImpl.inlineTags(),ParamTagImpl.inlineTags()
-
-