Ignore:
Timestamp:
02/04/10 21:57:54 (2 years ago)
Author:
kasper
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • MetadataBeans/trunk/src/main/java/org/eobjects/metamodel/DataContext.java

    r886 r888  
    6565         *         many situations so if you want to update the schemas, use the 
    6666         *         refreshSchemas() method. 
    67          * @throws MetaModelException 
     67         * @throws MetadataBeansException 
    6868         *             if an error occurs retrieving the schema model 
    6969         */ 
    70         public Schema[] getSchemas() throws MetaModelException { 
     70        public Schema[] getSchemas() throws MetadataBeansException { 
    7171                String[] schemaNames = getSchemaNames(); 
    7272                for (int i = 0; i < schemaNames.length; i++) { 
     
    8383        /** 
    8484         * @return an array of valid schema names 
    85          * @throws MetaModelException 
     85         * @throws MetadataBeansException 
    8686         *             if an error occurs retrieving the schema model 
    8787         */ 
    88         public String[] getSchemaNames() throws MetaModelException { 
     88        public String[] getSchemaNames() throws MetadataBeansException { 
    8989                if (_schemaNames == null) { 
    9090                        _schemaNames = _strategy.getSchemaNames(); 
     
    9999         *         single available schema and in that case this will of course be 
    100100         *         the schema returned. 
    101          * @throws MetaModelException 
     101         * @throws MetadataBeansException 
    102102         *             if an error occurs retrieving the schema model 
    103103         */ 
    104         public Schema getDefaultSchema() throws MetaModelException { 
     104        public Schema getDefaultSchema() throws MetadataBeansException { 
    105105                Schema result = null; 
    106106                String defaultSchemaName = _strategy.getDefaultSchemaName(); 
     
    133133         * @return the Schema with the specified name or null if no such schema 
    134134         *         exists 
    135          * @throws MetaModelException 
     135         * @throws MetadataBeansException 
    136136         *             if an error occurs retrieving the schema model 
    137137         */ 
    138         public Schema getSchemaByName(String name) throws MetaModelException { 
     138        public Schema getSchemaByName(String name) throws MetadataBeansException { 
    139139                Schema schema = _schemas.get(name); 
    140140                if (schema != null) { 
     
    158158         *            the query object to execute 
    159159         * @return the dataset produced from executing the query 
    160          * @throws MetaModelException 
     160         * @throws MetadataBeansException 
    161161         *             if the specified query does not make sense or cannot be 
    162162         *             executed because of restraints on the type of datastore. 
    163163         */ 
    164         public DataSet executeQuery(Query query) throws MetaModelException { 
     164        public DataSet executeQuery(Query query) throws MetadataBeansException { 
    165165                DataSet dataSet = _strategy.executeQuery(query); 
    166166                return dataSet; 
Note: See TracChangeset for help on using the changeset viewer.