Class FacetNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
-
- org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException
-
- org.gcube.informationsystem.resourceregistry.api.exceptions.instances.entities.EntityNotFoundException
-
- org.gcube.informationsystem.resourceregistry.api.exceptions.instances.entities.facet.FacetNotFoundException
-
- All Implemented Interfaces:
Serializable
public class FacetNotFoundException extends EntityNotFoundException
Thrown when the Facet identified by the given UUID does not exist, or is not visible to the caller. Mapped to404 Not Foundby the REST layer.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FacetNotFoundException(String message)Instantiates a new facet not found exception.FacetNotFoundException(String message, Throwable cause)Instantiates a new facet not found exception.FacetNotFoundException(Throwable cause)Instantiates a new facet not found exception.
-
Method Summary
-
Methods inherited from class org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
getResponseMetadata, withResponseMetadata
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
FacetNotFoundException
public FacetNotFoundException(String message)
Instantiates a new facet not found exception.- Parameters:
message- the message
-
FacetNotFoundException
public FacetNotFoundException(Throwable cause)
Instantiates a new facet not found exception.- Parameters:
cause- the cause
-
-