Revision 10627 trunk/libraries/libGDBMS/src/main/java/com/hardcode/gdbms/engine/data/persistence/MementoContentHandler.java

View differences:

MementoContentHandler.java
1 1
package com.hardcode.gdbms.engine.data.persistence;
2 2

  
3
import java.io.IOException;
4 3
import java.util.Stack;
5 4

  
6 5
import org.xml.sax.Attributes;
......
9 8
import org.xml.sax.SAXException;
10 9

  
11 10
import com.hardcode.driverManager.DriverLoadException;
11

  
12
import com.hardcode.gdbms.driver.exceptions.ReadDriverException;
12 13
import com.hardcode.gdbms.engine.data.DataSource;
13 14
import com.hardcode.gdbms.engine.data.DataSourceFactory;
14 15
import com.hardcode.gdbms.engine.data.NoSuchTableException;
15
import com.hardcode.gdbms.engine.data.driver.DriverException;
16 16
import com.hardcode.gdbms.engine.instruction.EvaluationException;
17 17
import com.hardcode.gdbms.engine.instruction.SemanticException;
18 18
import com.hardcode.gdbms.parser.ParseException;
......
145 145
     * @param mode DOCUMENT ME!
146 146
     *
147 147
     * @return DOCUMENT ME!
148
     *
149 148
     * @throws ParseException DOCUMENT ME!
150
     * @throws DriverException DOCUMENT ME!
151 149
     * @throws SemanticException DOCUMENT ME!
152
     * @throws IOException DOCUMENT ME!
153 150
     * @throws DriverLoadException DOCUMENT ME!
154 151
     * @throws NoSuchTableException DOCUMENT ME!
152
     * @throws ReadDriverException TODO
155 153
     * @throws RuntimeException DOCUMENT ME!
156 154
     */
157 155
    private DataSource createDataSource(Memento m, DataSourceFactory dsf,
158 156
        int mode)
159
        throws ParseException, DriverException, SemanticException, IOException, 
160
            DriverLoadException, NoSuchTableException, EvaluationException {
157
        throws ParseException, SemanticException, DriverLoadException, NoSuchTableException, EvaluationException, ReadDriverException {
161 158
        if (m instanceof OperationLayerMemento) {
162 159
            OperationLayerMemento olm = (OperationLayerMemento) m;
163 160

  
......
183 180
     * @param mode DOCUMENT ME!
184 181
     *
185 182
     * @return DOCUMENT ME!
186
     *
187 183
     * @throws DriverLoadException DOCUMENT ME!
188 184
     * @throws ParseException DOCUMENT ME!
189
     * @throws DriverException DOCUMENT ME!
190 185
     * @throws SemanticException DOCUMENT ME!
191
     * @throws IOException DOCUMENT ME!
192 186
     * @throws NoSuchTableException DOCUMENT ME!
193 187
     * @throws EvaluationException If there's any problem during expresion evaluation
188
     * @throws ReadDriverException TODO
194 189
     */
195 190
    public DataSource getDataSource(DataSourceFactory dsf, int mode)
196
        throws DriverLoadException, ParseException, DriverException, 
197
            SemanticException, IOException, NoSuchTableException, 
198
            EvaluationException {
191
        throws DriverLoadException, ParseException, SemanticException, NoSuchTableException,
192
            EvaluationException, ReadDriverException {
199 193
        return createDataSource(root, dsf, mode);
200 194
    }
201 195
}

Also available in: Unified diff