com.sun.mirror.apt
public interface Messager
Modifier and Type | Method and Description |
---|---|
void |
printError(SourcePosition pos,
String msg)
Prints an error message.
|
void |
printError(String msg)
Prints an error message.
|
void |
printNotice(SourcePosition pos,
String msg)
Prints a notice.
|
void |
printNotice(String msg)
Prints a notice.
|
void |
printWarning(SourcePosition pos,
String msg)
Prints a warning message.
|
void |
printWarning(String msg)
Prints a warning message.
|
void printError(String msg)
msg
- the message, or an empty string if nonevoid printError(SourcePosition pos, String msg)
pos
- the position where the error occured, or null if it is
unknown or not applicablemsg
- the message, or an empty string if nonevoid printWarning(String msg)
msg
- the message, or an empty string if nonevoid printWarning(SourcePosition pos, String msg)
pos
- the position where the warning occured, or null if it is
unknown or not applicablemsg
- the message, or an empty string if nonevoid printNotice(String msg)
msg
- the message, or an empty string if nonevoid printNotice(SourcePosition pos, String msg)
pos
- the position where the noticed occured, or null if it is
unknown or not applicablemsg
- the message, or an empty string if none Copyright © 2004, 2013, Oracle and/or its affiliates. All rights reserved.