Revision 10627 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrGT2_old.java

View differences:

FLyrGT2_old.java
60 60
import org.geotools.map.MapLayer;
61 61
import org.geotools.renderer.lite.LiteRenderer2;
62 62

  
63
import com.iver.cit.gvsig.fmap.DriverException;
63
import com.hardcode.gdbms.driver.exceptions.ReadDriverException;
64 64
import com.iver.cit.gvsig.fmap.ViewPort;
65 65
import com.iver.utiles.swing.threads.Cancellable;
66 66
import com.vividsolutions.jts.geom.Envelope;
......
90 90
	/* (non-Javadoc)
91 91
	 * @see com.iver.cit.gvsig.fmap.layers.FLayer#getFullExtent()
92 92
	 */
93
	public Rectangle2D getFullExtent() throws DriverException {
93
	public Rectangle2D getFullExtent() {
94 94
		FeatureSource fs = m_lyrGT2.getFeatureSource();
95 95
		Envelope bounds = null;
96 96
		try {
......
109 109
	/* (non-Javadoc)
110 110
	 * @see com.iver.cit.gvsig.fmap.layers.FLayer#draw(java.awt.image.BufferedImage, java.awt.Graphics2D, com.iver.cit.gvsig.fmap.ViewPort, com.iver.cit.gvsig.fmap.operations.Cancellable)
111 111
	 */
112
	public void draw(BufferedImage image, Graphics2D g, ViewPort viewPort, Cancellable cancel,double scale) throws DriverException {
112
	public void draw(BufferedImage image, Graphics2D g, ViewPort viewPort, Cancellable cancel,double scale) throws ReadDriverException {
113 113
        try {
114 114
        	 if (isWithinScale(scale)){
115 115
        	// mapExtent = this.context.getAreaOfInterest();
......
142 142
	/**
143 143
	 * @see com.iver.cit.gvsig.fmap.layers.FLayer#print(java.awt.Graphics2D, com.iver.cit.gvsig.fmap.ViewPort, com.iver.utiles.swing.threads.Cancellable)
144 144
	 */
145
	public void print(Graphics2D g, ViewPort viewPort, Cancellable cancel,double scale, PrintRequestAttributeSet properties) throws DriverException {
145
	public void print(Graphics2D g, ViewPort viewPort, Cancellable cancel,double scale, PrintRequestAttributeSet properties) throws ReadDriverException {
146 146
	}
147 147

  
148 148
}

Also available in: Unified diff