Also: SpringBeans
public interface

ProblemReporter

org.springframework.beans.factory.parsing.ProblemReporter
Known Indirect Subclasses

Class Overview

SPI interface allowing tools and other external processes to handle errors and warnings reported during bean definition parsing.

See Also

Summary

Public Methods
abstract void error(Problem problem)
Called when an error is encountered during the parsing process.
abstract void fatal(Problem problem)
Called when a fatal error is encountered during the parsing process.
abstract void warning(Problem problem)
Called when a warning is raised during the parsing process.

Public Methods

public abstract void error (Problem problem)

Also: SpringBeans

Called when an error is encountered during the parsing process.

Implementations may choose to treat errors as fatal.

Parameters
problem the source of the error (never null)

public abstract void fatal (Problem problem)

Also: SpringBeans

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 the source of the error (never null)

public abstract void warning (Problem problem)

Also: SpringBeans

Called when a warning is raised during the parsing process.

Warnings are never considered to be fatal.

Parameters
problem the source of the warning (never null)