Top Description Methods
org.springframework.beans.factory.parsing

public Interface ProblemReporter

Known Direct Implementers
org.springframework.beans.factory.parsing.FailFastProblemReporter

SPI interface allowing tools and other external processes to handle errors and warnings reported during bean definition parsing.
Authors
Rob Harrop, Juergen Hoeller
Since
2.0
See Also
Problem

Method Summary

Modifier and TypeMethod and Description
public void
error(Problem
the source of the error (never null)
problem
)

Called when an error is encountered during the parsing process.

public void
fatal(Problem
the source of the error (never null)
problem
)

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

public void
warning(Problem
the source of the warning (never null)
problem
)

Called when a warning is raised during the parsing process.

Method Detail

errorback to summary
public void error(Problem problem)

Called when an error is encountered during the parsing process.

Implementations may choose to treat errors as fatal.

Parameters
problem:Problem

the source of the error (never null)

fatalback to summary
public 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.

Parameters
problem:Problem

the source of the error (never null)

warningback to summary
public void warning(Problem problem)

Called when a warning is raised during the parsing process.

Warnings are never considered to be fatal.

Parameters
problem:Problem

the source of the warning (never null)