Constructor and Description |
---|
ConsoleErrorView() |
Modifier and Type | Method and Description |
---|---|
void |
addError(@NotNull ErrorViewCategory categoryName,
int lineNo,
@NotNull java.lang.String message)
Adds an error message.
|
void |
addError(@NotNull ErrorViewCategory categoryName,
@NotNull java.lang.String message)
Adds an error message.
|
void |
addWarning(@NotNull ErrorViewCategory categoryName,
int lineNo,
@NotNull java.lang.String message)
Adds a warning message.
|
void |
addWarning(@NotNull ErrorViewCategory categoryName,
@NotNull 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 @NotNull ErrorViewCategory categoryName, @NotNull @NotNull java.lang.String message)
ErrorView
public void addError(@NotNull @NotNull ErrorViewCategory categoryName, int lineNo, @NotNull @NotNull java.lang.String message)
ErrorView
public void addWarning(@NotNull @NotNull ErrorViewCategory categoryName, @NotNull @NotNull java.lang.String message)
ErrorView
addWarning
in interface ErrorView
categoryName
- the warning categorymessage
- the warning messagepublic void addWarning(@NotNull @NotNull ErrorViewCategory categoryName, int lineNo, @NotNull @NotNull java.lang.String message)
ErrorView
addWarning
in interface ErrorView
categoryName
- the warning categorylineNo
- the line number of the error messagemessage
- the warning messagepublic boolean hasErrors()
ErrorView
public void waitDialog()
ErrorView
waitDialog
in interface ErrorView