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

View differences:

FFrameGraphics.java
52 52
import java.awt.image.BufferedImage;
53 53
import java.util.BitSet;
54 54

  
55
import com.hardcode.gdbms.driver.exceptions.ReadDriverException;
55 56
import com.iver.andami.PluginServices;
56
import com.iver.cit.gvsig.fmap.DriverException;
57 57
import com.iver.cit.gvsig.fmap.core.FShape;
58 58
import com.iver.cit.gvsig.fmap.core.adapter.CircleAdapter;
59 59
import com.iver.cit.gvsig.fmap.core.adapter.GeometryAdapter;
......
208 208
     * @param imgBase DOCUMENT ME!
209 209
     */
210 210
    public void draw(Graphics2D g, AffineTransform at, Rectangle2D rv,
211
        BufferedImage imgBase) {
211
        BufferedImage imgBase) throws ReadDriverException {
212 212
        Rectangle2D.Double rect = getBoundingBox(at);
213 213
        g.rotate(Math.toRadians(getRotation()), rect.x + (rect.width / 2),
214 214
            rect.y + (rect.height / 2));
......
648 648
		return new FFrameGraphicsDialog(getLayout(),this);
649 649
	}
650 650

  
651
	public void print(Graphics2D g, AffineTransform at, FShape shape) throws DriverException {
651
	public void print(Graphics2D g, AffineTransform at, FShape shape) throws ReadDriverException {
652 652
		 Rectangle2D.Double rect = getBoundingBox(at);
653 653
	     g.rotate(Math.toRadians(getRotation()), rect.x + (rect.width / 2),
654 654
	            rect.y + (rect.height / 2));

Also available in: Unified diff