public class BeanNotOfRequiredTypeFailureAnalyzer extends AbstractFailureAnalyzer<org.springframework.beans.factory.BeanNotOfRequiredTypeException>
AbstractFailureAnalyzer that performs analysis of failures caused by a
BeanNotOfRequiredTypeException.| Constructor and Description |
|---|
BeanNotOfRequiredTypeFailureAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
protected FailureAnalysis |
analyze(Throwable rootFailure,
org.springframework.beans.factory.BeanNotOfRequiredTypeException cause)
Returns an analysis of the given
failure, or null if no analysis
was possible. |
analyze, findCause, getCauseTypepublic BeanNotOfRequiredTypeFailureAnalyzer()
protected FailureAnalysis analyze(Throwable rootFailure, org.springframework.beans.factory.BeanNotOfRequiredTypeException cause)
AbstractFailureAnalyzerfailure, or null if no analysis
was possible.analyze in class AbstractFailureAnalyzer<org.springframework.beans.factory.BeanNotOfRequiredTypeException>rootFailure - the root failure passed to the analyzercause - the actual found causenullCopyright © 2018 Pivotal Software, Inc.. All rights reserved.