Class ContextMoveException
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.ContextMoveException
- All Implemented Interfaces:
Serializable
Thrown when moving (reparenting) a Context fails for a reason other than the
lifecycle state-machine checks covered by
ContextLifecycleException (e.g. a
persistence error while recomputing descendant path/effectiveState).
Mapped to 400 Bad Request by the REST layer. Not currently thrown by the
server implementation, which reports reparent failures via ContextLifecycleException
or ContextException.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionContextMoveException(String message) Instantiates a new context move exception.ContextMoveException(String message, Throwable cause) Instantiates a new context move exception.ContextMoveException(Throwable cause) Instantiates a new context move 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
-
ContextMoveException
Instantiates a new context move exception.- Parameters:
message- the message
-
ContextMoveException
Instantiates a new context move exception.- Parameters:
cause- the cause
-
ContextMoveException
Instantiates a new context move exception.- Parameters:
message- the messagecause- the cause
-