public interface ErrorView
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.
|
void addError(@NotNull @NotNull ErrorViewCategory categoryName, @NotNull @NotNull java.lang.String message)
categoryName
- the error categorymessage
- the error messagevoid addError(@NotNull @NotNull ErrorViewCategory categoryName, int lineNo, @NotNull @NotNull java.lang.String message)
categoryName
- the error categorylineNo
- the line number of the error messagemessage
- the error messagevoid addWarning(@NotNull @NotNull ErrorViewCategory categoryName, @NotNull @NotNull java.lang.String message)
categoryName
- the warning categorymessage
- the warning messagevoid addWarning(@NotNull @NotNull ErrorViewCategory categoryName, int lineNo, @NotNull @NotNull java.lang.String message)
categoryName
- the warning categorylineNo
- the line number of the error messagemessage
- the warning messageboolean hasErrors()
void waitDialog() throws java.lang.InterruptedException
java.lang.InterruptedException
- if the current thread has been interrupted
while waiting for the dialog to close