VUtils – Release 1
Interface org.violetlib.util.ErrorReporter
Deprecated: ShowHide
-
-
|
Modifier and Type |
Static Method and Description |
|
sink |
Return an error reporter that discards all messages.
-
Return an error reporter that discards all messages.
|
-
|
Modifier and Type |
Method and Description |
|
error |
abstract void error(String message)
Report an error.
void error(String message)
-
Report an error.
- Parameters:
message - The error message.
|
|
formattedError |
void formattedError(String message,
Object... args)
Report an error using a constructed message.
void formattedError(String message,
Object... args)
-
Report an error using a constructed message.
The standard format specifiers are %q , to include quoted text, %s , to include
literal text, and %% , to include a percent sign.
- Parameters:
message - The basic error message, which may include format specifiers.args - Arguments to include in the message, based on the format specifiers.
|
|
formattedWarning |
void formattedWarning(String message,
Object... args)
Issue a warning using a constructed message.
void formattedWarning(String message,
Object... args)
-
Issue a warning using a constructed message.
The standard format specifiers are %q , to include quoted text, %s , to include
literal text, and %% , to include a percent sign.
- Parameters:
message - The basic error message, which may include format specifiers.args - Arguments to include in the message, based on the format specifiers.
|
|
warning |
void warning(String message)
Issue a warning.
void warning(String message)
-
Issue a warning.
- Parameters:
message - The warning message.
|