spring-geode/src/main/java/org/springframework/geode/data/AbstractCacheDataImporterExporter.java
/**
	 * Returns a required reference to the configured {@link Environment} used by this data importer/exporter
	 * to access {@link Environment} specific configuration.
	 *
	 * @return a required reference to the configured {@link Environment}.
	 * @throws IllegalStateException if the {@link Environment} was not configured
	 * ({@link #setEnvironment(Environment) set}).
	 * @see org.springframework.core.env.Environment
	 * @see #getEnvironment()
	 */
Returns a required reference to the configured  Environment used by this data importer/exporter
to access  Environment specific configuration.

@return a required reference to the configured  Environment.
@throws IllegalStateException if the  Environment was not configured
( #setEnvironment(Environment) set).
Returns a required reference to the configured Environment used by this data importer / exporter to access Environment specific configuration . @return a required reference to the configured Environment . @throws IllegalStateException if the Environment was not configured ( #setEnvironment ( Environment ) set ) .
protected Environment requireEnvironment() {
		return getEnvironment()
			.orElseThrow(() -> newIllegalStateException("Environment was not configured"));
	}
protected Environment requireEnvironment ( ) { return getEnvironment ( ) . orElseThrow ( ( ) -> newIllegalStateException ( "Environment was not configured" ) ) ; }
Returns a required reference to the configured {@link Environment} used by this data importer/exporter
 to access {@link Environment} specific configuration.
Returns a required reference to the configured { @link Environment } used by this data importer / exporter to access { @link Environment } specific configuration .