Class ContextException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
-
- org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ContextCreationException,ContextLifecycleException,ContextMoveException,ContextVisibilityException
public class ContextException extends ResourceRegistryException
Base 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). Mapped to400 Bad Requestby the REST layer.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContextException(String message)Instantiates a new context exception.ContextException(String message, Throwable cause)Instantiates a new context exception.ContextException(Throwable cause)Instantiates a new context 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
-
-