Revision 10627 trunk/libraries/libGDBMS/src/main/java/com/hardcode/gdbms/engine/data/driver/SpatialDriver.java

View differences:

SpatialDriver.java
1 1
package com.hardcode.gdbms.engine.data.driver;
2 2

  
3
import com.hardcode.gdbms.driver.exceptions.ReadDriverException;
3 4
import com.hardcode.gdbms.engine.spatial.Geometry;
4 5

  
5 6
import java.awt.geom.Rectangle2D;
......
15 16
     * @return Rectangle2D
16 17
     *
17 18
     * @throws DriverException if the operation fails
19
     * @throws ReadDriverException
18 20
     */
19
    public Rectangle2D getFullExtent() throws DriverException;
21
    public Rectangle2D getFullExtent() throws ReadDriverException;
20 22

  
21 23
    /**
22 24
     * gets the rowIndex-th geometry
......
24 26
     * @param rowIndex index of the geometry to be retrieved
25 27
     *
26 28
     * @return Gemetry
27
     *
28
     * @throws DriverException If the operation fails
29
     * @throws ReadDriverException TODO
29 30
     */
30
    public Geometry getGeometry(long rowIndex) throws DriverException;
31
    public Geometry getGeometry(long rowIndex) throws ReadDriverException;
31 32

  
32 33
    /**
33 34
     * DOCUMENT ME!
......
35 36
     * @param rowIndex DOCUMENT ME!
36 37
     *
37 38
     * @return DOCUMENT ME!
38
     *
39
     * @throws DriverException DOCUMENT ME!
39
     * @throws ReadDriverException TODO
40 40
     */
41 41
    public com.vividsolutions.jts.geom.Geometry getJTSGeometry(long rowIndex)
42
        throws DriverException;
42
        throws ReadDriverException;
43 43
}

Also available in: Unified diff