Module jdk.javadoc

Interface DocErrorReporter

  • All Known Subinterfaces:
    RootDoc

    @Deprecated(since="9",
                forRemoval=true)
    public interface DocErrorReporter
    Deprecated, for removal: This API element is subject to removal in a future version.
    The declarations in this package have been superseded by those in the package jdk.javadoc.doclet. For more information, see the Migration Guide in the documentation for that package.
    This interface provides error, warning and notice printing.
    Since:
    1.2
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      void printError​(SourcePosition pos, String msg)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Print an error message and increment error count.
      void printError​(String msg)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Print error message and increment error count.
      void printNotice​(SourcePosition pos, String msg)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Print a message.
      void printNotice​(String msg)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Print a message.
      void printWarning​(SourcePosition pos, String msg)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Print warning message and increment warning count.
      void printWarning​(String msg)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Print warning message and increment warning count.
    • Method Detail

      • printError

        void printError​(String msg)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Print error message and increment error count.
        Parameters:
        msg - message to print
      • printError

        void printError​(SourcePosition pos,
                        String msg)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Print an error message and increment error count.
        Parameters:
        pos - the position item where the error occurs
        msg - message to print
        Since:
        1.4
      • printWarning

        void printWarning​(String msg)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Print warning message and increment warning count.
        Parameters:
        msg - message to print
      • printWarning

        void printWarning​(SourcePosition pos,
                          String msg)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Print warning message and increment warning count.
        Parameters:
        pos - the position item where the warning occurs
        msg - message to print
        Since:
        1.4
      • printNotice

        void printNotice​(String msg)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Print a message.
        Parameters:
        msg - message to print
      • printNotice

        void printNotice​(SourcePosition pos,
                         String msg)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Print a message.
        Parameters:
        pos - the position item where the message occurs
        msg - message to print
        Since:
        1.4