Uses of Class
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
Packages that use ResourceRegistryException
Package
Description
-
Uses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.client
Methods in org.gcube.informationsystem.resourceregistry.api.client that throw ResourceRegistryExceptionModifier and TypeMethodDescriptionResourceRegistryCall.execute()Executes the client operation.<T> ResourceRegistryResponse<T>ResourceRegistryResponses.execute(ResourceRegistryCall<T> call) Executes one ordinary client call through its existing transport path.<T> ResourceRegistryResponse<T>ResourceRegistryResponses.execute(ResourceRegistryRequestOptions options, ResourceRegistryCall<T> call) Executes one ordinary client call with immutable invocation-specific options. -
Uses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.contexts
Methods in org.gcube.informationsystem.resourceregistry.api.contexts that throw ResourceRegistryExceptionModifier and TypeMethodDescriptionorg.gcube.informationsystem.contexts.reference.entities.ContextContextCache.getContextByPath(String contextPath) Gets the context by path.org.gcube.informationsystem.contexts.reference.entities.ContextContextCache.getContextByUUID(String uuid) Gets the context by UUID.org.gcube.informationsystem.contexts.reference.entities.ContextContextCache.getContextByUUID(UUID uuid) Gets the context by UUID.ContextCache.getContextPathByUUID(String uuid) Gets the context path by UUID.ContextCache.getContextPathByUUID(UUID uuid) Gets the context path by UUID.ContextCache.getContextPathToUUIDAssociation()Gets the context path to UUID association.List<org.gcube.informationsystem.contexts.reference.entities.Context>ContextCache.getContexts()Gets the contexts.org.gcube.informationsystem.dag.Dag<org.gcube.informationsystem.contexts.reference.entities.Context>ContextCache.getContextsTree()Gets the contexts tree.ContextCache.getUUIDByPath(String contextPath) Gets the uuid by path.ContextCache.getUUIDToContextPathAssociation()Gets the UUID to context path association.voidContextCache.refreshContextsIfNeeded()Refresh contexts if needed.voidContextCache.renew()Renew.List<org.gcube.informationsystem.contexts.reference.entities.Context>ContextCacheRenewal.renew()Triggers the renewal of the context cache. -
Uses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions
Subclasses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptionsModifier and TypeClassDescriptionclassBase exception for "an element with this identity already exists" error conditions across every collection (Context, Type, Instance, Query Template) — specialized per collection (e.g.classBase exception for a generic, non-conflict failure to create a new Resource, Facet, relation, Context, Type schema, or Query Template — specialized per collection (e.g.classThe Class InvalidUUIDException.classBase exception for "the requested element does not exist" error conditions across every collection (Context, Type, Instance, Query Template) — specialized per collection (e.g.classThe Class UUIDAlreadyInUseException.Methods in org.gcube.informationsystem.resourceregistry.api.exceptions with type parameters of type ResourceRegistryExceptionModifier and TypeMethodDescriptionstatic <RRE extends ResourceRegistryException>
StringExceptionMapper.marshal(RRE object) Returns the String serialization of a given resource.static <T extends OutputStream,RRE extends ResourceRegistryException>
TExceptionMapper.marshal(RRE object, T stream) Writes the serialization of a given resource to a givenOutputStream.static <T extends Writer,RRE extends ResourceRegistryException>
TExceptionMapper.marshal(RRE object, T writer) Writes the serialization of a given resource to a givenWriter.static <RRE extends ResourceRegistryException>
RREExceptionMapper.unmarshal(Class<RRE> clz, InputStream stream) Creates a resource of given class from its serialization in a givenInputStream.static <RRE extends ResourceRegistryException>
RRECreates a resource of given class from its serialization in a givenReader.static <RRE extends ResourceRegistryException>
RRECreates a resource of given class from its serialization in a given String.Methods in org.gcube.informationsystem.resourceregistry.api.exceptions that return ResourceRegistryExceptionModifier and TypeMethodDescriptionResourceRegistryException.withResponseMetadata(ResponseMetadata metadata) Attaches immutable HTTP metadata captured from the failed client request. -
Uses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.contexts
Subclasses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.contextsModifier and TypeClassDescriptionclassThrown when a Context with the given UUID already exists with a different representation than the one being submitted.classThrown when a generic, non-conflict failure occurs while creating a Context (e.g.classBase exception for Context-domain error conditions that do not fall underContextLifecycleExceptionorContextVisibilityException(e.g. a generic hierarchy-consistency or persistence failure while creating, moving, or updating a Context).classThrown when an operation violates Context lifecycle state machine transitions or tree hierarchy rules (e.g. renaming/reparenting a Context whose state isACTIVE).classThrown when moving (reparenting) a Context fails for a reason other than the lifecycle state-machine checks covered byContextLifecycleException(e.g. a persistence error while recomputing descendantpath/effectiveState).classThrown when the Context identified by the given UUID (or the@currentliteral) does not exist, or is not visible to the caller under the requested lifecycle scope (live/deleted/all).classThrown when a Context exists in the system but falls outside the caller's authorized scope or visibility boundaries.classThrown when a caller-supplied Contextnamedoes not match the required format. -
Uses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.instances
Subclasses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.instancesModifier and TypeClassDescriptionclassBase exception thrown when the requested instance exists, but only in a Context other than the one scoping the request — a visibility boundary violation distinct fromNotFoundException(element genuinely absent). -
Uses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.instances.entities
Subclasses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.instances.entitiesModifier and TypeClassDescriptionclassBase exception for "a Resource or Facet with this identity already exists" error conditions.classBase exception for "the requested Resource or Facet exists, but only in a Context other than the one scoping the request" error conditions.classBase exception for a generic, non-conflict failure to create a Resource or Facet.classBase exception for "the requested Resource or Facet does not exist" error conditions. -
Uses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.instances.entities.facet
Subclasses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.instances.entities.facetModifier and TypeClassDescriptionclassThrown when a Facet with the given UUID already exists (e.g. reusing a UUID viaPUT/PATCHwhile enforcing structural idempotency).classThrown when the requested Facet exists, but only in a Context other than the one scoping the request.classThrown when a generic, non-conflict failure occurs while creating a Facet.classThrown when the Facet identified by the given UUID does not exist, or is not visible to the caller. -
Uses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.instances.entities.resource
Subclasses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.instances.entities.resourceModifier and TypeClassDescriptionclassThrown when a Resource with the given UUID already exists (e.g. reusing a UUID viaPUT/PATCHwhile enforcing structural idempotency).classThrown when the requested Resource exists, but only in a Context other than the one scoping the request.classThrown when a generic, non-conflict failure occurs while creating a Resource.classThrown when the Resource identified by the given UUID does not exist, or is not visible to the caller. -
Uses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.instances.relations
Subclasses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.instances.relationsModifier and TypeClassDescriptionclassBase exception for "a relation (ConsistsOf/IsRelatedTo) between this source and target already exists" error conditions.classBase exception for "the requested relation exists, but only in a Context other than the one scoping the request" error conditions.classBase exception for a generic, non-conflict failure to create a relation (ConsistsOf/IsRelatedTo).classBase exception for "the requested relation does not exist" error conditions. -
Uses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.instances.relations.consistsof
Subclasses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.instances.relations.consistsofModifier and TypeClassDescriptionclassThrown when a ConsistsOf relation between the given Resource and Facet already exists (e.g. violating Facet-exclusivity uniqueness).classThrown when the requested ConsistsOf relation exists, but only in a Context other than the one scoping the request.classThrown when a generic, non-conflict failure occurs while creating a ConsistsOf relation.classThrown when the requested ConsistsOf relation does not exist, or is not visible to the caller. -
Uses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.instances.relations.isparentof
Subclasses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.instances.relations.isparentofModifier and TypeClassDescriptionclassWould signal that anIsParentOfedge already exists between two Contexts.classWould signal a generic failure while creating anIsParentOfedge.classBase exception for the internalIsParentOfContext-hierarchy edge.classWould signal that a requestedIsParentOfedge does not exist. -
Uses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.queries
Subclasses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.queriesModifier and TypeClassDescriptionclassThrown when a JSON Query, raw backend query, or prepared query request is malformed, references an unknown type, or attempts a disallowed (non-read-only) operation. -
Uses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates
Subclasses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templatesModifier and TypeClassDescriptionclassThrown when a Query Template with the given name already exists with a different definition.classThrown when a generic, non-conflict failure occurs while creating a Query Template.classBase exception for Query Template error conditions that do not fall underQueryTemplateAlreadyPresentExceptionorQueryTemplateNotFoundException(e.g.classThrown when the Query Template identified by the given name does not exist. -
Uses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.types
Subclasses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.exceptions.typesModifier and TypeClassDescriptionclassThrown when a Type with the given name already exists with a different schema (i.e. a non-idempotent re-submit onPUT /types/{type-name}).classThrown when a generic, non-conflict failure occurs while creating a Type schema.classBase exception for Type schema error conditions that do not fall underSchemaAlreadyPresentException,SchemaNotFoundException, orSchemaViolationException(e.g.classThrown when the Type identified by the given name does not exist.classThrown when a Type schema registration or update violates a structural schema rule: a referenced parent/facet/relation type does not exist, a cardinality constraint contradicts an inherited one,abstractandfinalare both set, a multiple-inheritance precedence order is inconsistent (C3 failure), or a Type is still referenced by another Type definition on delete. -
Uses of ResourceRegistryException in org.gcube.informationsystem.resourceregistry.api.rest.httputils
Methods in org.gcube.informationsystem.resourceregistry.api.rest.httputils that throw ResourceRegistryExceptionModifier and TypeMethodDescriptionprotected static <C> NotFoundExceptionHTTPUtility.getElementNotFoundException(Class<C> clz) Builds the most specificNotFoundExceptionsubclass for the given model class, used when the server returned404 Not Foundfor a request whose response body could not be otherwise mapped (e.g. on aHEADcall).