Examples of NoSuchEntityException


Examples of org.apache.clerezza.rdf.core.access.NoSuchEntityException

  @Override
  public MGraph getMGraph(UriRef name) throws NoSuchEntityException {
    if (ENRICHMENT_GRAPH_URI.equals(name)) {
      return getEnrichmentGraph();
    }
    throw new NoSuchEntityException(name);
  }
View Full Code Here

Examples of org.apache.clerezza.rdf.core.access.NoSuchEntityException

  @Override
  public TripleCollection getTriples(UriRef name) throws NoSuchEntityException {
    if (ENRICHMENT_GRAPH_URI.equals(name)) {
      return getEnrichmentGraph();
    }
    throw new NoSuchEntityException(name);
  }
View Full Code Here

Examples of org.qi4j.api.unitofwork.NoSuchEntityException

            throw new UnitOfWorkException( "Unit of work has been closed" );
        }

        if( status() == EntityStatus.REMOVED )
        {
            throw new NoSuchEntityException( identity );
        }

        mixins = entityModel.newMixinHolder();
        state = new EntityStateInstance( entityModel.state(), uow, entityState );
    }
View Full Code Here

Examples of org.z.compiler.NoSuchEntityException

    for(Package p : subpackages) {
      if(p.getName().equals(name)) {
        return p;
            }
    }
    throw new NoSuchEntityException(name + " (package)");
  }
View Full Code Here

Examples of org.zanata.rest.NoSuchEntityException

        HProject hProject =
                hProjectIteration == null ? null : hProjectIteration
                        .getProject();

        if (hProjectIteration == null) {
            throw new NoSuchEntityException("Project version '" + projectSlug
                    + ":" + versionSlug + "' not found.");
        } else if (hProjectIteration.getStatus().equals(EntityStatus.OBSOLETE)
                || hProject.getStatus().equals(EntityStatus.OBSOLETE)) {
            throw new NoSuchEntityException("Project version '" + projectSlug
                    + ":" + versionSlug + "' not found.");
        } else if (writeOperation) {
            if (hProjectIteration.getStatus().equals(EntityStatus.READONLY)
                    || hProject.getStatus().equals(EntityStatus.READONLY)) {
                throw new ReadOnlyEntityException("Project version '"
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.