Class ConsistsOfAvailableInAnotherContextException
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.consistsof.ConsistsOfAvailableInAnotherContextException
- All Implemented Interfaces:
Serializable
public class ConsistsOfAvailableInAnotherContextException
extends RelationAvailableInAnotherContextException
Thrown when the requested ConsistsOf 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 consists of available in another context exception.ConsistsOfAvailableInAnotherContextException(String message, Throwable cause) Instantiates a new consists of available in another context exception.Instantiates a new consists of 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
-
ConsistsOfAvailableInAnotherContextException
Instantiates a new consists of available in another context exception.- Parameters:
message- the message
-
ConsistsOfAvailableInAnotherContextException
Instantiates a new consists of available in another context exception.- Parameters:
cause- the cause
-
ConsistsOfAvailableInAnotherContextException
Instantiates a new consists of available in another context exception.- Parameters:
message- the messagecause- the cause
-