Changeset 888 for MetadataBeans/trunk/src/main/java/org/eobjects/metamodel/dbase/DbaseDataContextStrategy.java
- Timestamp:
- 02/04/10 21:57:54 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MetadataBeans/trunk/src/main/java/org/eobjects/metamodel/dbase/DbaseDataContextStrategy.java
r887 r888 21 21 import java.util.List; 22 22 23 import org.eobjects.metamodel.Meta ModelException;23 import org.eobjects.metamodel.MetadataBeansException; 24 24 import org.eobjects.metamodel.QueryPostprocessDataContextStrategy; 25 25 import org.eobjects.metamodel.data.DataSet; … … 65 65 dbf = new DBF(filename); 66 66 } catch (Exception e) { 67 throw new Meta ModelException("Could not open DBF file");67 throw new MetadataBeansException("Could not open DBF file"); 68 68 } 69 69 } … … 74 74 75 75 @Override 76 protected Schema getMainSchema() throws Meta ModelException {76 protected Schema getMainSchema() throws MetadataBeansException { 77 77 DBF dbf = getDbf(); 78 78 … … 122 122 123 123 } catch (Exception e) { 124 throw new Meta ModelException("Could not retrieve DBF field", e);124 throw new MetadataBeansException("Could not retrieve DBF field", e); 125 125 } 126 126 } … … 130 130 131 131 @Override 132 protected String getMainSchemaName() throws Meta ModelException {132 protected String getMainSchemaName() throws MetadataBeansException { 133 133 return getMainSchema().getName(); 134 134 } … … 143 143 dbf.gotoRecord(1); 144 144 } catch (Exception e) { 145 throw new Meta ModelException(e);145 throw new MetadataBeansException(e); 146 146 } 147 147 … … 158 158 rowValues.add(values); 159 159 } catch (Exception e) { 160 throw new Meta ModelException(e);160 throw new MetadataBeansException(e); 161 161 } 162 162 … … 168 168 break; 169 169 } 170 throw new Meta ModelException(e);170 throw new MetadataBeansException(e); 171 171 } 172 172 }
Note: See TracChangeset
for help on using the changeset viewer.
