Examples of SimalException


Examples of uk.ac.osswatch.simal.rdf.SimalException

  }

  public IProject getProject() throws SimalException {
    List<Statement> projects = listProperties(SimalOntology.PROJECT);
    if (projects.size() == 0) {
      throw new SimalException("No project recorded for review: ");
    } else if (projects.size() > 1) {
      throw new SimalException("More than one project recorded for review ");
    }
    IProject project = new Project(projects.get(0).getResource());
    return project;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.