public Resource getConfigurationResource(final ResourceSelection selection)
		throws ConfigurationException {
		Resource resource = getResource(selection);
		if (resource == null) {
			String catalog = selection.getCatalog();
			String version = selection.getVersion();
			String name = selection.getName();
			throw new ConfigurationException("未找到类别 " + catalog + " 版本 " + version + " 的配置 " + name);
		}
		return resource;
	}
public Resource getConfigurationResource(final ResourceSelection selection)
		throws ConfigurationException {
		Resource resource = getResource(selection);
		if (resource == null) {
			String catalog = selection.getCatalog();
			String version = selection.getVersion();
			String name = selection.getName();
			throw new ConfigurationException("未找到类别 " + catalog + " 版本 " + version + " 的配置 " + name);
		}
		return resource;
	}
public Resource getConfigurationResource ( final ResourceSelection selection ) throws ConfigurationException { Resource resource = getResource ( selection ) ; if ( resource == null ) { String catalog = selection . getCatalog ( ) ; String version = selection . getVersion ( ) ; String name = selection . getName ( ) ; throw new ConfigurationException ( "未找到类别 " + catalog + " 版本 "  ersion + " 的 置 " + n m );
 } return resource ; }
定位配置资源。

@param selection
配置资源选择
@return 配置资源
@throws ConfigurationException
配置错误
定位配置资源。