public interface Messager
| Modifier and Type | Method and Description |
|---|---|
void |
printError(SourcePosition pos,
java.lang.String msg)
Prints an error message.
|
void |
printError(java.lang.String msg)
Prints an error message.
|
void |
printNotice(SourcePosition pos,
java.lang.String msg)
Prints a notice.
|
void |
printNotice(java.lang.String msg)
Prints a notice.
|
void |
printWarning(SourcePosition pos,
java.lang.String msg)
Prints a warning message.
|
void |
printWarning(java.lang.String msg)
Prints a warning message.
|
void printError(java.lang.String msg)
msg - the message, or an empty string if nonevoid printError(SourcePosition pos, java.lang.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(java.lang.String msg)
msg - the message, or an empty string if nonevoid printWarning(SourcePosition pos, java.lang.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(java.lang.String msg)
msg - the message, or an empty string if nonevoid printNotice(SourcePosition pos, java.lang.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 noneCopyright © 2004, 2013, Oracle and/or its affiliates. All rights reserved