Search in sources :

Example 1 with LoggingFailureAnalysisReporter

use of cn.taketoday.framework.diagnostics.LoggingFailureAnalysisReporter in project today-framework by TAKETODAY.

the class NotConstructorBoundInjectionFailureAnalyzerTests method analyzeFailure.

private FailureAnalysis analyzeFailure(Exception failure) {
    assertThat(failure).isNotNull();
    FailureAnalysis analysis = this.analyzer.analyze(failure);
    if (analysis != null) {
        new LoggingFailureAnalysisReporter().report(analysis);
    }
    return analysis;
}
Also used : FailureAnalysis(cn.taketoday.framework.diagnostics.FailureAnalysis) LoggingFailureAnalysisReporter(cn.taketoday.framework.diagnostics.LoggingFailureAnalysisReporter)

Example 2 with LoggingFailureAnalysisReporter

use of cn.taketoday.framework.diagnostics.LoggingFailureAnalysisReporter in project today-infrastructure by TAKETODAY.

the class NotConstructorBoundInjectionFailureAnalyzerTests method analyzeFailure.

private FailureAnalysis analyzeFailure(Exception failure) {
    assertThat(failure).isNotNull();
    FailureAnalysis analysis = this.analyzer.analyze(failure);
    if (analysis != null) {
        new LoggingFailureAnalysisReporter().report(analysis);
    }
    return analysis;
}
Also used : FailureAnalysis(cn.taketoday.framework.diagnostics.FailureAnalysis) LoggingFailureAnalysisReporter(cn.taketoday.framework.diagnostics.LoggingFailureAnalysisReporter)

Aggregations

FailureAnalysis (cn.taketoday.framework.diagnostics.FailureAnalysis)2 LoggingFailureAnalysisReporter (cn.taketoday.framework.diagnostics.LoggingFailureAnalysisReporter)2