Class ContextLifecycleException
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.ContextLifecycleException
- All Implemented Interfaces:
Serializable
Thrown when an operation violates Context lifecycle state machine transitions
or tree hierarchy rules (e.g. renaming/reparenting a Context whose state is
ACTIVE). Mapped to 409 Conflict by the REST layer.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionContextLifecycleException(String message) Instantiates a new context lifecycle exception.ContextLifecycleException(String message, Throwable cause) Instantiates a new context lifecycle exception.Instantiates a new context lifecycle 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
-
ContextLifecycleException
Instantiates a new context lifecycle exception.- Parameters:
message- the message
-
ContextLifecycleException
Instantiates a new context lifecycle exception.- Parameters:
cause- the cause
-
ContextLifecycleException
Instantiates a new context lifecycle exception.- Parameters:
message- the messagecause- the cause
-