org.springframework.boot.diagnostics.FailureAnalyzer Java Examples

The following examples show how to use org.springframework.boot.diagnostics.FailureAnalyzer. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AnalyzerProvider.java    From spring-graalvm-native with Apache License 2.0 4 votes vote down vote up
public static FailureAnalyzer getBindValidationFailureAnalyzer() {
	return new BindValidationFailureAnalyzer();
}
 
Example #2
Source File: AbstractServiceBrokerWebAutoConfigurationTest.java    From spring-cloud-open-service-broker with Apache License 2.0 4 votes vote down vote up
protected void assertFailureAnalysis(Throwable t) {
	FailureAnalyzer analyzer = new RequiredServiceInstanceServiceBeanFailureAnalyzer();
	FailureAnalysis analysis = analyzer.analyze(t);
	assertThat(analysis).isNotNull();
	assertThat(analysis.getDescription()).isEqualTo(ANALYZER_DESCRIPTION);
}
 
Example #3
Source File: ServiceBrokerAutoConfigurationTest.java    From spring-cloud-open-service-broker with Apache License 2.0 4 votes vote down vote up
private void assertFailureAnalysis(Throwable t) {
	FailureAnalyzer analyzer = new RequiredCatalogBeanFailureAnalyzer();
	FailureAnalysis analysis = analyzer.analyze(t);
	assertThat(analysis).isNotNull();
	assertThat(analysis.getDescription()).isEqualTo(ANALYZER_DESCRIPTION);
}
 
Example #4
Source File: AnalyzerProvider.java    From spring-graalvm-native with Apache License 2.0 4 votes vote down vote up
public static FailureAnalyzer getInvalidConfigurationPropertyValueFailureAnalyzer() {
	return new InvalidConfigurationPropertyValueFailureAnalyzer();
}
 
Example #5
Source File: AnalyzerProvider.java    From spring-graalvm-native with Apache License 2.0 4 votes vote down vote up
public static FailureAnalyzer getInvalidConfigurationPropertyNameFailureAnalyzer() {
	return new InvalidConfigurationPropertyNameFailureAnalyzer();
}
 
Example #6
Source File: AnalyzerProvider.java    From spring-graalvm-native with Apache License 2.0 4 votes vote down vote up
public static FailureAnalyzer getValidationExceptionFailureAnalyzer() {
	return new ValidationExceptionFailureAnalyzer();
}
 
Example #7
Source File: AnalyzerProvider.java    From spring-graalvm-native with Apache License 2.0 4 votes vote down vote up
public static FailureAnalyzer getPortInUseFailureAnalyzer() {
	return new PortInUseFailureAnalyzer();
}
 
Example #8
Source File: AnalyzerProvider.java    From spring-graalvm-native with Apache License 2.0 4 votes vote down vote up
public static FailureAnalyzer getNoUniqueBeanDefinitionFailureAnalyzer() {
	return new NoUniqueBeanDefinitionFailureAnalyzer();
}
 
Example #9
Source File: AnalyzerProvider.java    From spring-graalvm-native with Apache License 2.0 4 votes vote down vote up
public static FailureAnalyzer getNoSuchMethodFailureAnalyzer() {
	return new NoSuchMethodFailureAnalyzer();
}
 
Example #10
Source File: AnalyzerProvider.java    From spring-graalvm-native with Apache License 2.0 4 votes vote down vote up
public static FailureAnalyzer getConnectorStartFailureAnalyzer() {
	return new ConnectorStartFailureAnalyzer();
}
 
Example #11
Source File: AnalyzerProvider.java    From spring-graalvm-native with Apache License 2.0 4 votes vote down vote up
public static FailureAnalyzer getUnboundConfigurationPropertyFailureAnalyzer() {
	return new UnboundConfigurationPropertyFailureAnalyzer();
}
 
Example #12
Source File: SessionProvider.java    From spring-graalvm-native with Apache License 2.0 4 votes vote down vote up
public static FailureAnalyzer getNonUniqueSessionRepositoryFailureAnalyzer() {
	return new NonUniqueSessionRepositoryFailureAnalyzer();
}
 
Example #13
Source File: AnalyzerProvider.java    From spring-graalvm-native with Apache License 2.0 4 votes vote down vote up
public static FailureAnalyzer getBindFailureAnalyzer() {
	return new BindFailureAnalyzer();
}
 
Example #14
Source File: AnalyzerProvider.java    From spring-graalvm-native with Apache License 2.0 4 votes vote down vote up
public static FailureAnalyzer getBeanNotOfRequiredTypeFailureAnalyzer() {
	return new BeanNotOfRequiredTypeFailureAnalyzer();
}
 
Example #15
Source File: AnalyzerProvider.java    From spring-graalvm-native with Apache License 2.0 4 votes vote down vote up
public static FailureAnalyzer getBeanDefinitionOverrideFailureAnalyzer() {
	return new BeanDefinitionOverrideFailureAnalyzer();
}
 
Example #16
Source File: AnalyzerProvider.java    From spring-graalvm-native with Apache License 2.0 4 votes vote down vote up
public static FailureAnalyzer getBeanCurrentlyInCreationFailureAnalyzer() {
	return new BeanCurrentlyInCreationFailureAnalyzer();
}
 
Example #17
Source File: AutoconfigureAnalyzerProvider.java    From spring-graalvm-native with Apache License 2.0 4 votes vote down vote up
public static FailureAnalyzer getNoSuchBeanDefinitionFailureAnalyzer() {
	return new NoSuchBeanDefinitionFailureAnalyzer();
}
 
Example #18
Source File: FlywayProvider.java    From spring-graalvm-native with Apache License 2.0 4 votes vote down vote up
public static FailureAnalyzer getFlywayMigrationScriptMissingFailureAnalyzer() {
	return new FlywayMigrationScriptMissingFailureAnalyzer();
}
 
Example #19
Source File: R2dbcProvider.java    From spring-graalvm-native with Apache License 2.0 4 votes vote down vote up
public static FailureAnalyzer getConnectionFactoryBeanCreationFailureAnalyzer() {
	return new ConnectionFactoryBeanCreationFailureAnalyzer();
}
 
Example #20
Source File: JdbcProvider.java    From spring-graalvm-native with Apache License 2.0 4 votes vote down vote up
public static FailureAnalyzer getHikariDriverConfigurationFailureAnalyzer() {
	return new HikariDriverConfigurationFailureAnalyzer();
}
 
Example #21
Source File: JdbcProvider.java    From spring-graalvm-native with Apache License 2.0 4 votes vote down vote up
public static FailureAnalyzer getDataSourceBeanCreationFailureAnalyzer() {
	return new DataSourceBeanCreationFailureAnalyzer();
}