Revision 10626 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/ProjectMap.java

View differences:

ProjectMap.java
46 46
import java.util.TreeMap;
47 47
import java.util.Map.Entry;
48 48

  
49
import com.hardcode.gdbms.driver.exceptions.ReadDriverException;
49 50
import com.iver.andami.PluginServices;
50 51
import com.iver.andami.ui.mdiManager.IWindow;
51
import com.iver.cit.gvsig.fmap.DriverException;
52 52
import com.iver.cit.gvsig.fmap.drivers.DriverIOException;
53 53
import com.iver.cit.gvsig.fmap.layers.XMLException;
54 54
import com.iver.cit.gvsig.project.Project;
......
153 153
	 * @see com.iver.cit.gvsig.project.documents.ProjectDocument#setXMLEntity(com.iver.utiles.XMLEntity)
154 154
	 */
155 155
	public void setXMLEntity03(XMLEntity xml)
156
		throws XMLException, DriverException, DriverIOException{
156
		throws XMLException, ReadDriverException{
157 157

  
158 158
		super.setXMLEntity03(xml);
159 159
		int numMaps=xml.getIntProperty("numMaps");
......
207 207

  
208 208
	}
209 209

  
210
	public void importFromXML(XMLEntity root, XMLEntity typeRoot, int elementIndex, Project project, boolean removeDocumentsFromRoot) throws XMLException, DriverException, OpenException {
210
	public void importFromXML(XMLEntity root, XMLEntity typeRoot, int elementIndex, Project project, boolean removeDocumentsFromRoot) throws XMLException, OpenException, ReadDriverException {
211 211
		XMLEntity element = typeRoot.getChild(elementIndex);
212 212

  
213 213
		XMLEntity layout = element.getChild(0);

Also available in: Unified diff