public class ErrorViewCollector
extends java.lang.Object
ErrorView instance using a
fixed category name.| Constructor and Description |
|---|
ErrorViewCollector(@NotNull ErrorView errorView,
@NotNull java.io.File file)
Creates a new instance.
|
ErrorViewCollector(@NotNull ErrorView errorView,
@NotNull java.net.URL url)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addError(@NotNull ErrorViewCategory category)
Adds an error message.
|
void |
addError(@NotNull ErrorViewCategory category,
int lineNo,
@NotNull java.lang.String message)
Adds an error message.
|
void |
addError(@NotNull ErrorViewCategory category,
@NotNull java.lang.String message)
Adds an error message.
|
void |
addWarning(@NotNull ErrorViewCategory category)
Adds a warning message.
|
void |
addWarning(@NotNull ErrorViewCategory category,
int lineNo,
@NotNull java.lang.String message)
Adds a warning message.
|
void |
addWarning(@NotNull ErrorViewCategory category,
@NotNull java.lang.String message)
Adds a warning message.
|
public ErrorViewCollector(@NotNull
@NotNull ErrorView errorView,
@NotNull
@NotNull java.io.File file)
errorView - the error view to add tofile - the file being readpublic ErrorViewCollector(@NotNull
@NotNull ErrorView errorView,
@NotNull
@NotNull java.net.URL url)
errorView - the error view to add tourl - the URL being readpublic void addWarning(@NotNull
@NotNull ErrorViewCategory category)
category - the categorypublic void addWarning(@NotNull
@NotNull ErrorViewCategory category,
@NotNull
@NotNull java.lang.String message)
category - the categorymessage - the messagepublic void addWarning(@NotNull
@NotNull ErrorViewCategory category,
int lineNo,
@NotNull
@NotNull java.lang.String message)
category - the categorylineNo - the line numbermessage - the messagepublic void addError(@NotNull
@NotNull ErrorViewCategory category)
category - the categorypublic void addError(@NotNull
@NotNull ErrorViewCategory category,
@NotNull
@NotNull java.lang.String message)
category - the categorymessage - the messagepublic void addError(@NotNull
@NotNull ErrorViewCategory category,
int lineNo,
@NotNull
@NotNull java.lang.String message)
category - the categorylineNo - the line numbermessage - the message