Home / Function/ bindWhenExceptionNotIgnorableShouldFail() — spring-boot Function Reference

bindWhenExceptionNotIgnorableShouldFail() — spring-boot Function Reference

Architecture documentation for the bindWhenExceptionNotIgnorableShouldFail() function in IgnoreTopLevelConverterNotFoundBindHandlerTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  129e34a0_a18d_b14a_501a_ff7d53abef1d["bindWhenExceptionNotIgnorableShouldFail()"]
  dec6e978_683d_a8e4_7ae5_e3e729d3253e["MockConfigurationPropertySource()"]
  129e34a0_a18d_b14a_501a_ff7d53abef1d -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e
  725e97d2_341b_6665_84bc_9206c7185c54["put()"]
  129e34a0_a18d_b14a_501a_ff7d53abef1d -->|calls| 725e97d2_341b_6665_84bc_9206c7185c54
  8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"]
  129e34a0_a18d_b14a_501a_ff7d53abef1d -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3
  19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78["of()"]
  129e34a0_a18d_b14a_501a_ff7d53abef1d -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78
  style 129e34a0_a18d_b14a_501a_ff7d53abef1d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/handler/IgnoreTopLevelConverterNotFoundBindHandlerTests.java lines 67–76

	@Test
	void bindWhenExceptionNotIgnorableShouldFail() {
		MockConfigurationPropertySource source = new MockConfigurationPropertySource();
		source.put("example.foo", "1");
		this.sources.add(source);
		assertThatExceptionOfType(BindException.class)
			.isThrownBy(() -> this.binder.bind("example", Bindable.of(Example.class),
					new IgnoreTopLevelConverterNotFoundBindHandler()))
			.withCauseInstanceOf(IllegalStateException.class);
	}

Domain

Subdomains

Frequently Asked Questions

What does bindWhenExceptionNotIgnorableShouldFail() do?
bindWhenExceptionNotIgnorableShouldFail() is a function in the spring-boot codebase.
What does bindWhenExceptionNotIgnorableShouldFail() call?
bindWhenExceptionNotIgnorableShouldFail() calls 4 function(s): MockConfigurationPropertySource, bind, of, put.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free