Changeset 888 for MetadataBeans/trunk/src/main/java/org/eobjects/metamodel/AccessDataContextStrategy.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/AccessDataContextStrategy.java
r887 r888 40 40 _database = Database.open(_file, true); 41 41 } catch (IOException e) { 42 throw new Meta ModelException(e);42 throw new MetadataBeansException(e); 43 43 } 44 44 } … … 48 48 49 49 @Override 50 protected MutableSchema getMainSchema() throws Meta ModelException {50 protected MutableSchema getMainSchema() throws MetadataBeansException { 51 51 MutableSchema schema = new MutableSchema(_file.getName()); 52 52 Database db = getDatabase(); … … 71 71 schema.addTable(table); 72 72 } catch (Exception e) { 73 throw new Meta ModelException(e);73 throw new MetadataBeansException(e); 74 74 } 75 75 } … … 78 78 79 79 @Override 80 protected String getMainSchemaName() throws Meta ModelException {80 protected String getMainSchemaName() throws MetadataBeansException { 81 81 return _file.getName(); 82 82 } … … 108 108 return new DataSet(selectItems, data); 109 109 } catch (Exception e) { 110 throw new Meta ModelException(e);110 throw new MetadataBeansException(e); 111 111 } 112 112 }
Note: See TracChangeset
for help on using the changeset viewer.
