Class IsRelatedToAvailableInAnotherContextException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.instances.AvailableInAnotherContextException
org.gcube.informationsystem.resourceregistry.api.exceptions.instances.relations.RelationAvailableInAnotherContextException
org.gcube.informationsystem.resourceregistry.api.exceptions.instances.relations.isrelatedto.IsRelatedToAvailableInAnotherContextException
- All Implemented Interfaces:
Serializable
public class IsRelatedToAvailableInAnotherContextException
extends RelationAvailableInAnotherContextException
Thrown when the requested IsRelatedTo relation exists, but only in a Context
other than the one scoping the request. Mapped to
403 Forbidden by the
REST layer.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new checks if is related to available in another context exception.IsRelatedToAvailableInAnotherContextException(String message, Throwable cause) Instantiates a new checks if is related to available in another context exception.Instantiates a new checks if is related to available in another context exception. -
Method Summary
Methods inherited from class org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
getResponseMetadata, withResponseMetadataMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IsRelatedToAvailableInAnotherContextException
Instantiates a new checks if is related to available in another context exception.- Parameters:
message- the message
-
IsRelatedToAvailableInAnotherContextException
Instantiates a new checks if is related to available in another context exception.- Parameters:
cause- the cause
-
IsRelatedToAvailableInAnotherContextException
Instantiates a new checks if is related to available in another context exception.- Parameters:
message- the messagecause- the cause
-