Class ContextVisibilityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextException
org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextVisibilityException
- All Implemented Interfaces:
Serializable
Thrown when a Context exists in the system but falls outside the caller's
authorized scope or visibility boundaries. Mapped to
403 Forbidden by
the REST layer.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionContextVisibilityException(String message) Instantiates a new context visibility exception.ContextVisibilityException(String message, Throwable cause) Instantiates a new context visibility exception.Instantiates a new context visibility 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
-
ContextVisibilityException
Instantiates a new context visibility exception.- Parameters:
message- the message
-
ContextVisibilityException
Instantiates a new context visibility exception.- Parameters:
cause- the cause
-
ContextVisibilityException
Instantiates a new context visibility exception.- Parameters:
message- the messagecause- the cause
-