Constructor and Description |
---|
ConsoleErrorView() |
Modifier and Type | Method and Description |
---|---|
void |
addError(ErrorViewCategory categoryName,
int lineNo,
java.lang.String message)
Adds an error message.
|
void |
addError(ErrorViewCategory categoryName,
java.lang.String message)
Adds an error message.
|
void |
addWarning(ErrorViewCategory categoryName,
int lineNo,
java.lang.String message)
Adds a warning message.
|
void |
addWarning(ErrorViewCategory categoryName,
java.lang.String message)
Adds a warning message.
|
boolean |
hasErrors()
Whether at least one error message has been added.
|
void |
waitDialog()
Waits until the dialog has been dismissed.
|
public void addError(@NotNull ErrorViewCategory categoryName, @NotNull java.lang.String message)
public void addError(@NotNull ErrorViewCategory categoryName, int lineNo, @NotNull java.lang.String message)
public void addWarning(@NotNull ErrorViewCategory categoryName, @NotNull java.lang.String message)
addWarning
in interface ErrorView
categoryName
- the warning categorymessage
- the warning messagepublic void addWarning(@NotNull ErrorViewCategory categoryName, int lineNo, @NotNull java.lang.String message)
addWarning
in interface ErrorView
categoryName
- the warning categorylineNo
- the line number of the error messagemessage
- the warning messagepublic boolean hasErrors()
public void waitDialog()
waitDialog
in interface ErrorView