Interface DocErrorReporter
- All Known Subinterfaces:
RootDoc
@Deprecated(since="9", forRemoval=true) public interface DocErrorReporter
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
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. |
Methods
printError
void printError(String msg)
Print error message and increment error count.
- Parameters:
-
msg
- message to print
printError
void printError(SourcePosition pos, String msg)
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)
Print warning message and increment warning count.
- Parameters:
-
msg
- message to print
printWarning
void printWarning(SourcePosition pos, String msg)
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)
Print a message.
- Parameters:
-
msg
- message to print
printNotice
void printNotice(SourcePosition pos, String msg)
Print a message.
- Parameters:
-
pos
- the position item where the message occurs -
msg
- message to print - Since:
- 1.4
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/jdk.javadoc/com/sun/javadoc/DocErrorReporter.html