| 程序包 | 说明 |
|---|---|
| org.springframework.beans.factory.parsing |
Support infrastructure for bean definition parsing.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ParseState |
Problem.getParseState()
Get the
ParseState at the time of the error (may be null). |
ParseState |
ParseState.snapshot()
Create a new instance of
ParseState which is an independent snapshot
of this instance. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ReaderContext.error(String message,
Object source,
ParseState parseState)
Raise a regular error.
|
void |
ReaderContext.error(String message,
Object source,
ParseState parseState,
Throwable cause)
Raise a regular error.
|
void |
ReaderContext.fatal(String message,
Object source,
ParseState parseState)
Raise a fatal error.
|
void |
ReaderContext.fatal(String message,
Object source,
ParseState parseState,
Throwable cause)
Raise a fatal error.
|
void |
ReaderContext.warning(String message,
Object source,
ParseState parseState)
Raise a non-critical warning.
|
void |
ReaderContext.warning(String message,
Object source,
ParseState parseState,
Throwable cause)
Raise a non-critical warning.
|
| 构造器和说明 |
|---|
Problem(String message,
Location location,
ParseState parseState)
Create a new instance of the
Problem class. |
Problem(String message,
Location location,
ParseState parseState,
Throwable rootCause)
Create a new instance of the
Problem class. |