Revision 1356 org.gvsig.raster.wms/trunk/org.gvsig.raster.wms/org.gvsig.raster.wms.io/src/main/java/org/gvsig/raster/wms/io/WMSProvider.java

View differences:

WMSProvider.java
141 141
	 * @param fName Nombre del fichero
142 142
	 * @throws NotSupportedExtensionException
143 143
	 */
144
	public WMSProvider(String params) throws NotSupportedExtensionException {
144
	public WMSProvider(String params) throws InitializeException {
145 145
		super(params);
146 146
		if(params instanceof String) {
147 147
			WMSDataParameters p = new WMSDataParametersImpl();
......
155 155
	}
156 156
	
157 157
	public WMSProvider(WMSDataParameters params,
158
			DataStoreProviderServices storeServices) throws NotSupportedExtensionException {
158
			DataStoreProviderServices storeServices) throws InitializeException {
159 159
		super(params, storeServices, ToolsLocator.getDynObjectManager()
160 160
				.createDynObject(
161 161
						MetadataLocator.getMetadataManager().getDefinition(
......
191 191
	 * @throws NotSupportedExtensionException
192 192
	 */
193 193
	public void init (DataStoreParameters params,
194
			DataStoreProviderServices storeServices) throws NotSupportedExtensionException {
194
			DataStoreProviderServices storeServices) throws InitializeException {
195 195
		setParam(storeServices, params);
196 196
		setDataType(new int[]{Buffer.TYPE_BYTE, Buffer.TYPE_BYTE, Buffer.TYPE_BYTE});
197 197
		bandCount = 3;
......
199 199
		try {
200 200
			loadInitialInfo();
201 201
		} catch (RasterDriverException e) {
202
			logger.info("Loaded default values in WMS provider " + e.getMessage(), e);
202
			throw new InitializeException(e.getMessage(), e);
203 203
		}
204 204
	}
205 205
	

Also available in: Unified diff