Class ThrowsTaglet

  • All Implemented Interfaces:
    InheritableTaglet, Taglet

    @Deprecated
    public class ThrowsTaglet
    extends BaseExecutableMemberTaglet
    implements InheritableTaglet
    Deprecated.
    A taglet that represents the @throws tag.

    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.

    Since:
    1.4
    Author:
    Jamie Ho
    • Constructor Detail

      • ThrowsTaglet

        public ThrowsTaglet()
        Deprecated.
    • Method Detail

      • inherit

        public void inherit​(DocFinder.Input input,
                            DocFinder.Output output)
        Deprecated.
        Given an DocFinder.Output object, set its values with the appropriate information to inherit documentation.
        Specified by:
        inherit in interface InheritableTaglet
        Parameters:
        input - the input for documentation search.
        output - the output for documentation search.
      • getTagletOutput

        public Content getTagletOutput​(Doc holder,
                                       TagletWriter writer)
        Deprecated.
        Given a Doc object, check if it holds any tags of this type. If it does, return the string representing the output. If it does not, return null.
        Specified by:
        getTagletOutput in interface Taglet
        Overrides:
        getTagletOutput in class BaseTaglet
        Parameters:
        holder - a Doc object holding the custom tag.
        writer - a TagletWriter Taglet writer.
        Returns:
        the TagletOutput representation of this Tag.
      • throwsTagsOutput

        protected Content throwsTagsOutput​(ThrowsTag[] throwTags,
                                           TagletWriter writer,
                                           Set<String> alreadyDocumented,
                                           boolean allowDups)
        Deprecated.
        Given an array of Tags representing this custom tag, return its string representation.
        Parameters:
        throwTags - the array of ThrowsTags to convert.
        writer - the TagletWriter that will write this tag.
        alreadyDocumented - the set of exceptions that have already been documented.
        allowDups - True if we allow duplicate throws tags to be documented.
        Returns:
        the Content representation of this Tag.