-
- 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 packagejdk.javadoc.doclet
. For more information, see the Migration Guide in the documentation for that package.此界面提供错误,警告和通知打印。- 从以下版本开始:
- 1.2
-
-
方法摘要
所有方法 实例方法 抽象方法 弃用的方法 变量和类型 方法 描述 void
printError(SourcePosition pos, String msg)
不推荐使用,要删除:此API元素将在以后的版本中删除。打印错误消息并增加错误计数。void
printError(String msg)
不推荐使用,要删除:此API元素将在以后的版本中删除。打印错误消息并增加错误计数。void
printNotice(SourcePosition pos, String msg)
不推荐使用,要删除:此API元素将在以后的版本中删除。打印一条消息。void
printNotice(String msg)
不推荐使用,要删除:此API元素将在以后的版本中删除。打印一条消息。void
printWarning(SourcePosition pos, String msg)
不推荐使用,要删除:此API元素将在以后的版本中删除。打印警告消息并增加警告计数。void
printWarning(String msg)
不推荐使用,要删除:此API元素将在以后的版本中删除。打印警告消息并增加警告计数。
-
-
-
方法详细信息
-
printError
void printError(String msg)
Deprecated, for removal: This API element is subject to removal in a future version.打印错误消息并增加错误计数。- 参数
-
msg
- 要打印的消息
-
printError
void printError(SourcePosition pos, String msg)
Deprecated, for removal: This API element is subject to removal in a future version.打印错误消息并增加错误计数。- 参数
-
pos
- 发生错误的位置项 -
msg
- 要打印的消息 - 从以下版本开始:
- 1.4
-
printWarning
void printWarning(String msg)
Deprecated, for removal: This API element is subject to removal in a future version.打印警告消息并增加警告计数。- 参数
-
msg
- 要打印的消息
-
printWarning
void printWarning(SourcePosition pos, String msg)
Deprecated, for removal: This API element is subject to removal in a future version.打印警告消息并增加警告计数。- 参数
-
pos
- 发生警告的位置项 -
msg
- 要打印的消息 - 从以下版本开始:
- 1.4
-
printNotice
void printNotice(String msg)
Deprecated, for removal: This API element is subject to removal in a future version.打印一条消息。- 参数
-
msg
- 要打印的消息
-
printNotice
void printNotice(SourcePosition pos, String msg)
Deprecated, for removal: This API element is subject to removal in a future version.打印一条消息。- 参数
-
pos
- 消息发生的位置项 -
msg
- 要打印的消息 - 从以下版本开始:
- 1.4
-
-