Class ThrowsTagImpl

  • All Implemented Interfaces:
    Tag, ThrowsTag

    @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 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:
        exceptionName in interface ThrowsTag
        Returns:
        name of the exception.
      • exceptionComment

        public java.lang.String exceptionComment()
        Deprecated.
        Return the exception comment.
        Specified by:
        exceptionComment in interface ThrowsTag
        Returns:
        exception comment.
      • exceptionType

        public Type exceptionType()
        Deprecated.
        Return the type that represents the exception. This may be a ClassDoc or a TypeVariable.
        Specified by:
        exceptionType in interface ThrowsTag
        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.
        Specified by:
        kind in interface Tag
        Overrides:
        kind in class TagImpl
        Returns:
        the kind of this tag.
      • 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:
        inlineTags in interface Tag
        Overrides:
        inlineTags in class TagImpl
        Returns:
        TagImpl[] Array of tags with inline SeeTagImpls.
        See Also:
        TagImpl.inlineTags(), ParamTagImpl.inlineTags()