Revision 21299 branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/fframes/FFrameTable.java

View differences:

FFrameTable.java
94 94

  
95 95
import javax.swing.ImageIcon;
96 96

  
97
import com.hardcode.gdbms.driver.exceptions.ReadDriverException;
97
import org.gvsig.data.ReadException;
98

  
98 99
import com.iver.andami.PluginServices;
99 100
import com.iver.cit.gvsig.AddLayer;
100 101
import com.iver.cit.gvsig.ProjectExtension;
......
129 130
     * @param imgBase DOCUMENT ME!
130 131
     */
131 132
    public void draw(Graphics2D g, AffineTransform at, Rectangle2D rv,
132
        BufferedImage imgBase) throws ReadDriverException {
133
        BufferedImage imgBase) throws ReadException {
133 134
        Rectangle2D.Double r = getBoundingBox(at);
134 135
        g.setColor(Color.black);
135 136
        g.rotate(Math.toRadians(getRotation()), r.x + (r.width / 2),
......
146 147
            FFrameBasic basic=(FFrameBasic)fframes[i];
147 148
            try {
148 149
                basic.draw(g,at,rv,imgBase);
149
            } catch (ReadDriverException e) {
150
            } catch (ReadException e) {
150 151
                e.printStackTrace();
151 152
            }
152 153
        }
......
165 166
            FFrameBasic basic=(FFrameBasic)fframes[i];
166 167
            try {
167 168
                basic.draw(g,new AffineTransform(),null,null);
168
            } catch (ReadDriverException e) {
169
            } catch (ReadException e) {
169 170
                e.printStackTrace();
170 171
            }
171 172
        }
......
180 181
     * @throws ReadDriverException
181 182
     */
182 183
    public void print(Graphics2D g, AffineTransform at)
183
        throws ReadDriverException {
184
        throws ReadException {
184 185
        draw(g, at, null, null);
185 186
    }
186 187

  

Also available in: Unified diff