Example usage for org.springframework.beans.factory.parsing Problem getRootCause

List of usage examples for org.springframework.beans.factory.parsing Problem getRootCause

Introduction

In this page you can find the example usage for org.springframework.beans.factory.parsing Problem getRootCause.

Prototype

@Nullable
public Throwable getRootCause() 

Source Link

Document

Get the underlying exception that caused the error (may be null ).

Usage

From source file:org.data.support.beans.factory.parsing.FailFastProblemReporter.java

/**
 * Writes the supplied {@link Problem} to the {@link Log} at <code>WARN</code> level.
 * @param problem the source of the warning
 *//*from  w w w.  j a v  a2  s.  c om*/
public void warning(Problem problem) {
    this.logger.warn(problem, problem.getRootCause());
}

From source file:org.springframework.beans.factory.parsing.FailFastProblemReporter.java

/**
 * Writes the supplied {@link Problem} to the {@link Log} at {@code WARN} level.
 * @param problem the source of the warning
 */// w  w w.  j  a  v  a 2 s .c  om
@Override
public void warning(Problem problem) {
    this.logger.warn(problem, problem.getRootCause());
}