## 类的使用
org.springframework.beans.factory.parsing.ParseState

- 使用ParseState的程序包
  程序包 | 说明
  --- | ---
  org.springframework.beans.factory.parsing | Support infrastructure for bean definition parsing.

- - ### org.springframework.beans.factory.parsing中ParseState的使用

    返回ParseState的org.springframework.beans.factory.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.

    参数类型为ParseState的org.springframework.beans.factory.parsing中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `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.

    参数类型为ParseState的org.springframework.beans.factory.parsing中的构造器
    构造器和说明
    `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.