Revision 1787 branches/pilotoDWG/libraries/libFMap/src/com/iver/cit/gvsig/fmap/drivers/dxf/DXFMemoryDriver.java
DXFMemoryDriver.java | ||
---|---|---|
84 | 84 |
import com.iver.cit.gvsig.fmap.core.v02.FConstant; |
85 | 85 |
import com.iver.cit.gvsig.fmap.core.v02.FSymbol; |
86 | 86 |
import com.iver.cit.gvsig.fmap.drivers.DriverAttributes; |
87 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
|
87 | 88 |
import com.iver.cit.gvsig.fmap.drivers.MemoryDriver; |
88 | 89 |
import com.iver.cit.gvsig.fmap.drivers.WithDefaultLegend; |
89 | 90 |
import com.iver.cit.gvsig.fmap.rendering.Legend; |
... | ... | |
126 | 127 |
m_Fich = f; |
127 | 128 |
} |
128 | 129 |
|
129 |
public void initialize() throws IOException { |
|
130 |
public void initialize() throws DriverIOException {
|
|
130 | 131 |
float heightText = 10; |
131 | 132 |
|
132 | 133 |
attr.setLoadedInMemory(true); |
... | ... | |
369 | 370 |
} // for |
370 | 371 |
} catch (DriverException e) { |
371 | 372 |
e.printStackTrace(); |
372 |
throw new IOException("Error al poner la leyenda por defecto en el DXF"); |
|
373 |
throw new DriverIOException("Error al poner la leyenda por defecto en el DXF");
|
|
373 | 374 |
} |
374 | 375 |
} |
375 | 376 |
|
Also available in: Unified diff