Package org.apache.oodt.cas.catalog.exception

Examples of org.apache.oodt.cas.catalog.exception.CatalogServiceException


  public boolean isRestrictIngestPermissions() throws CatalogServiceException {
    try {
      return this.communicationChannelClient.isRestrictIngestPermissions();
    } catch (Exception e) {
      throw new CatalogServiceException(e.getMessage(), e);
    }
  }
View Full Code Here


  public boolean isRestrictQueryPermissions() throws CatalogServiceException {
    try {
      return this.communicationChannelClient.isRestrictQueryPermissions();
    } catch (Exception e) {
      throw new CatalogServiceException(e.getMessage(), e);
    }
  }
View Full Code Here

 
  public Page getNextPage(Page page) throws CatalogServiceException {
    try {
      return this.communicationChannelClient.getNextPage(page);
    } catch (Exception e) {
      throw new CatalogServiceException(e.getMessage(), e);
    }
  }
View Full Code Here

 
  public Page getPage(PageInfo pageInfo, QueryExpression queryExpression) throws CatalogServiceException {
    try {
      return this.communicationChannelClient.getPage(pageInfo, queryExpression);
    } catch (Exception e) {
      throw new CatalogServiceException(e.getMessage(), e);
    }
  }
View Full Code Here

 
  public Page getPage(PageInfo pageInfo, QueryExpression queryExpression, Set<String> catalogIds) throws CatalogServiceException {
    try {
      return this.communicationChannelClient.getPage(pageInfo, queryExpression, catalogIds);
    } catch (Exception e) {
      throw new CatalogServiceException(e.getMessage(), e);
    }
  }
View Full Code Here

 
  public List<TransactionalMetadata> getMetadata(Page page) throws CatalogServiceException {
    try {
      return this.communicationChannelClient.getMetadata(page);
    } catch (Exception e) {
      throw new CatalogServiceException(e.getMessage(), e);
    }
  }
View Full Code Here

  public QueryPager query(QueryExpression queryExpression)
      throws CatalogServiceException {
    try {
      return this.communicationChannelClient.query(queryExpression);
    } catch (Exception e) {
      throw new CatalogServiceException(e.getMessage(), e);
    }
  }
View Full Code Here

 
  public QueryPager query(QueryExpression queryExpression, Set<String> catalogIds) throws CatalogServiceException {
    try {
      return this.communicationChannelClient.query(queryExpression, catalogIds);
    } catch (Exception e) {
      throw new CatalogServiceException(e.getMessage(), e);
    }
  }
View Full Code Here

        LOG.log(Level.INFO, "Loaded Catalogs: '" + this.catalogs + "'");
        this.catalogRepository = catalogRepository;
      }catch (Exception e) {
        this.catalogs = backupCatalogs;
        this.catalogRepository = backupRepository;
        throw new CatalogServiceException("Failed to set CatalogRepository '" + catalogRepository + "', reverting back to original settings : " + e.getMessage(), e);
      }finally {
        this.catalogsLock.writeLock().unlock();
      }
    }else {
      throw new CatalogServiceException("Cannot add NULL CatalogRepository to CatalogService, reverting back to original settings");
    }
  }
View Full Code Here

            break;
          }
        }
      }catch (Exception e) {
        this.catalogs = backupCatalogs;
        throw new CatalogServiceException("Failed to serialize Catalog '" + catalogId + "' -- if CatalogService goes down, Catalog will have to be readded : " + e.getMessage(), e);
      }finally {
        this.catalogsLock.writeLock().unlock();
      }
    } else {
      LOG.log(Level.WARNING, "Attempt to change an existing catalog '" + catalogId + "' already used in CatalogService, remedy and retry add -- no changes took place!");
View Full Code Here

TOP

Related Classes of org.apache.oodt.cas.catalog.exception.CatalogServiceException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.