ProblemReporter.
May indicate a potentially fatal problem (an error) or just a warning.
ProblemReporter
| Modifier and Type | Field and Description |
|---|---|
| private final Location | |
| private final String | |
| private final ParseState | |
| private final Throwable |
| Access | Constructor and Description |
|---|---|
| public | |
| public | Problem(String
a message detailing the problem message, Location the location within a bean configuration source that triggered the error location, ParseState the parseState)ParseState at the time of the errorCreate a new instance of the |
| public | Problem(String
a message detailing the problem message, Location the location within a bean configuration source that triggered the error location, ParseState the parseState, Throwable ParseState at the time of the errorthe underlying exception that caused the error (may be rootCause)null)Create a new instance of the |
| Modifier and Type | Method and Description |
|---|---|
| public Location | |
| public String | |
| public ParseState | |
| public String | getResourceDescription()
Get the description of the bean configuration source that triggered the error, as contained within this Problem's Location object. |
| public Throwable | |
| public String |
| location | back to summary |
|---|---|
| private final Location location | |
| message | back to summary |
|---|---|
| private final String message | |
| parseState | back to summary |
|---|---|
| private final ParseState parseState
| |
| rootCause | back to summary |
|---|---|
| private final Throwable rootCause
| |
| Problem | back to summary |
|---|---|
| public Problem(String message, Location location) Create a new instance of the | |
| Problem | back to summary |
|---|---|
| public Problem(String message, Location location, ParseState parseState) Create a new instance of the
| |
| Problem | back to summary |
|---|---|
| public Problem(String message, Location location, ParseState parseState, Throwable rootCause) Create a new instance of the
| |
| getLocation | back to summary |
|---|---|
| public Location getLocation() Get the location within a bean configuration source that triggered the error. | |
| getMessage | back to summary |
|---|---|
| public String getMessage() Get the message detailing the problem. | |
| getParseState | back to summary |
|---|---|
| public ParseState getParseState() Get the
| |
| getResourceDescription | back to summary |
|---|---|
| public String getResourceDescription() Get the description of the bean configuration source that triggered the error, as contained within this Problem's Location object.
| |
| getRootCause | back to summary |
|---|---|
| public Throwable getRootCause() Get the underlying exception that caused the error (may be
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |