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

View differences:

GraphicLayer.java
53 53

  
54 54
import org.cresques.cts.ICoordTrans;
55 55

  
56
import com.iver.cit.gvsig.fmap.DriverException;
56
import com.hardcode.gdbms.driver.exceptions.ReadDriverException;
57 57
import com.iver.cit.gvsig.fmap.ViewPort;
58 58
import com.iver.cit.gvsig.fmap.core.IGeometry;
59 59
import com.iver.cit.gvsig.fmap.core.symbols.ISymbol;
......
79 79
    /* (non-Javadoc)
80 80
     * @see com.iver.cit.gvsig.fmap.layers.FLayer#getFullExtent()
81 81
     */
82
    public Rectangle2D getFullExtent() throws DriverException {
82
    public Rectangle2D getFullExtent() {
83 83
        return fullExtent;
84 84
    }
85 85

  
86 86
    /* (non-Javadoc)
87 87
     * @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, double)
88 88
     */
89
    public void draw(BufferedImage image, Graphics2D g, ViewPort viewPort, Cancellable cancel, double scale) throws DriverException {
89
    public void draw(BufferedImage image, Graphics2D g, ViewPort viewPort, Cancellable cancel, double scale) throws ReadDriverException {
90 90
        if (isVisible() && isWithinScale(scale)){
91 91
            drawGraphics(image, g, viewPort, cancel);
92 92
            }
......
117 117
    /* (non-Javadoc)
118 118
     * @see com.iver.cit.gvsig.fmap.layers.FLayer#print(java.awt.Graphics2D, com.iver.cit.gvsig.fmap.ViewPort, com.iver.cit.gvsig.fmap.operations.Cancellable, double)
119 119
     */
120
    public void print(Graphics2D g, ViewPort viewPort, Cancellable cancel, double scale, PrintRequestAttributeSet properties) throws DriverException {
120
    public void print(Graphics2D g, ViewPort viewPort, Cancellable cancel, double scale, PrintRequestAttributeSet properties) throws ReadDriverException {
121 121
        if (isVisible() && isWithinScale(scale)){
122 122
            drawGraphics(null, g, viewPort, cancel);
123 123
            }

Also available in: Unified diff