public interface Reporter
Reporter is responsible to handle feedback from within the
manipulation process in order to let API consumers deal with errors
and warnings.| Modifier and Type | Method and Description |
|---|---|
void |
error(String message,
Object... args)
Add a message in the error list.
|
List<String> |
getErrors() |
List<String> |
getWarnings() |
void |
info(String message,
Object... args)
Add an informative message
It accepts a
Throwable as last argument. |
void |
trace(String message,
Object... args)
Add aa trace message
It accepts a
Throwable as last argument. |
void |
warn(String message,
Object... args)
Add a message in the warning list.
|
void trace(String message, Object... args)
Throwable as last argument.message - trace message.args - message's argumentvoid info(String message, Object... args)
Throwable as last argument.message - info message.args - message's argumentvoid warn(String message, Object... args)
Throwable as last argument.message - warning message.args - message's argumentvoid error(String message, Object... args)
Throwable as last argument.message - error message.args - message's argumentList<String> getErrors()
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.