Package edu.pitt.dbmi.nlp.noble.terminology

Examples of edu.pitt.dbmi.nlp.noble.terminology.TerminologyException


          File f = new File(name);
          if(f.getParentFile() != null)
            NobleCoderTerminology.setPersistenceDirectory(f.getParentFile());
          term = new NobleCoderTerminology(f.getName());
        } catch (IOException e) {
          throw new TerminologyException("Could not load IndexFinder terminology "+name,e);
        }
      }
    }catch(TerminologyException ex){
      ex.printStackTrace();
    }
View Full Code Here


  public IClass createClass(ILogicExpression exp) {
    throw new IOntologyError("Operation not supported");
  }

  public boolean addConcept(Concept c) throws TerminologyException {
    throw new TerminologyException("Operation not supported");
  }
View Full Code Here

    IResource cls = ontology.getResource(cui);
    return (cls != null && cls instanceof IClass)?((IClass)cls).getConcept():null;
  }

  public boolean removeConcept(Concept c) throws TerminologyException {
    throw new TerminologyException("Operation not supported");
  }
View Full Code Here

  public void setFilterSources(Source[] srcs) {
    // NOOP
  }

  public boolean updateConcept(Concept c) throws TerminologyException {
    throw new TerminologyException("Operation not supported");
  }
View Full Code Here

  /**
   * convert Template to XML DOM object representation
   * @return
   */
  public void fromElement(Element element) throws TerminologyException{
    throw new TerminologyException("Not implemented");
  }
View Full Code Here

  /**
   * add new concept to the terminology
   * @param c
   */
  public boolean addConcept(Concept c) throws TerminologyException{
    throw new TerminologyException("Not implemented");
  }
View Full Code Here

  /**
   * update concept information
   * @param c
   */
  public boolean updateConcept(Concept c) throws TerminologyException{
    throw new TerminologyException("Not implemented");
  }
View Full Code Here

  /**
   * remove existing concept
   * @param c
   */
  public boolean removeConcept(Concept c) throws TerminologyException{
    throw new TerminologyException("Not implemented");
  }
View Full Code Here

  /**
   * convert Template to XML DOM object representation
   * @return
   */
  public void fromElement(Element element) throws TerminologyException{
    throw new TerminologyException("Not implemented");
  }
View Full Code Here

    if(storage.isReadOnly(storage.getConceptMap())){
      dispose();
      try {
        load(name,false);
      } catch (IOException e) {
        throw new TerminologyException("Unable to gain write access to data tables",e);
      }
    }
   
   
    // get list of terms
View Full Code Here

TOP

Related Classes of edu.pitt.dbmi.nlp.noble.terminology.TerminologyException

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.