org.springframework.beans.factory.parsing

## 接口 ProblemReporter

- 所有已知实现类:
    FailFastProblemReporter

      public interface ProblemReporter

  SPI interface allowing tools and other external processes to handle errors and warnings reported during bean definition parsing.
  从以下版本开始:
    2.0
  作者:
    Rob Harrop, Juergen Hoeller
  另请参阅:
    `Problem`

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `error(Problem problem)` Called when an error is encountered during the parsing process.
    `void` | `fatal(Problem problem)` Called when a fatal error is encountered during the parsing process.
    `void` | `warning(Problem problem)` Called when a warning is raised during the parsing process.

- - ### 方法详细资料

    - #### fatal

          void fatal(Problem problem)

      Called when a fatal error is encountered during the parsing process.

      Implementations must treat the given problem as fatal, i.e. they have to eventually raise an exception.

      参数:
        `problem` - the source of the error (never `null`)

    - #### error

          void error(Problem problem)

      Called when an error is encountered during the parsing process.

      Implementations may choose to treat errors as fatal.

      参数:
        `problem` - the source of the error (never `null`)

    - #### warning

          void warning(Problem problem)

      Called when a warning is raised during the parsing process.

      Warnings are never considered to be fatal.

      参数:
        `problem` - the source of the warning (never `null`)