Interface Reporter
public interface Reporter
This interface provides error, warning and notice reporting.
- Since:
- 9
Methods
Modifier and Type | Method | Description |
---|---|---|
void | print(Diagnostic.Kind kind,
DocTreePath path,
String msg) | Print an error message and increment error count. |
void | print(Diagnostic.Kind kind,
String msg) | Print error message and increment error count. |
void | print(Diagnostic.Kind kind,
Element e,
String msg) | Print an error message and increment error count. |
Methods
void print(Diagnostic.Kind kind, String msg)
Print error message and increment error count.
- Parameters:
-
kind
- specify the diagnostic kind -
msg
- message to print
void print(Diagnostic.Kind kind, DocTreePath path, String msg)
Print an error message and increment error count.
- Parameters:
-
kind
- specify the diagnostic kind -
path
- the DocTreePath of item where the error occurs -
msg
- message to print
void print(Diagnostic.Kind kind, Element e, String msg)
Print an error message and increment error count.
- Parameters:
-
kind
- specify the diagnostic kind -
e
- the Element for which the error occurs -
msg
- message to print
© 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/jdk/javadoc/doclet/Reporter.html