Messager
.@Deprecated public interface Messager
Modifier and Type | Method and Description |
---|---|
void |
printError(SourcePosition pos,
String msg)
Deprecated.
Prints an error message.
|
void |
printError(String msg)
Deprecated.
Prints an error message.
|
void |
printNotice(SourcePosition pos,
String msg)
Deprecated.
Prints a notice.
|
void |
printNotice(String msg)
Deprecated.
Prints a notice.
|
void |
printWarning(SourcePosition pos,
String msg)
Deprecated.
Prints a warning message.
|
void |
printWarning(String msg)
Deprecated.
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, 2018, Oracle and/or its affiliates. All rights reserved.